PDA

View Full Version : Is it possible to make fully resizable project in “Flat” mode?



Ubercraft
06-12-2009, 07:57 AM
Is it possible to make fully resizable project in “Flat” mode?
I wish to make the project which will be always in the full screen mode.

Used such code:


On Preload
local tDInfo = System.GetDisplayInfo();
Window.SetPos(Application.GetWndHandle(), 0, 0);
Window.SetSize(Application.GetWndHandle(), tDInfo.Width, tDInfo.Height);


But I had problems with positioning of pictures and buttons.
The “Auto-resize” works incorrectly…

As I understand, I need to write scripts, but my programming skill is tragic.

I have found a working variant of the fully resizable project by Adam ( https://www.indigorose.com/forums/showthread.php?t=12944 ), but its scripts are intended for “Standard” style, when “Resize” is “on”.

bule
06-12-2009, 08:00 AM
I think that you can not resize flat-style windows at all.

ShadowUK
06-12-2009, 10:50 AM
I think that you can not resize flat-style windows at all.

Well, you can do something like On Click and when it's holding check for movements and use Window.SetSize, You can set flat styled windows because I did it for Lisux.