Jump to content

GUI control resizing...

Recommended Posts

  • 1 year later...

You could use Opt("GUIResizeMode", < 1024) and you could use GuiCtrlSetResizing(controlId, resizing)

where resizing is

$GUI_DOCKAUTO 1 resize and reposition according to new window size

$GUI_DOCKLEFT 2 Left side

$GUI_DOCKRIGHT 4 Right side

$GUI_DOCKHCENTER 8 Position will not move relative to horizontal center

$GUI_DOCKTOP 32 Top side

$GUI_DOCKBOTTOM 64 Bottom side

$GUI_DOCKVCENTER 128 Position will not move relative to vertical center

$GUI_DOCKWIDTH 256 Width will not change

$GUI_DOCKHEIGHT 512 Height will not change

$GUI_DOCKSIZE 768 Size will not change (256+512)

$GUI_DOCKMENUBAR 544 512+32 so the control will stay on the top of window with no changing Height

$GUI_DOCKSTATEBAR 576 512+64 so the control stay at the bottom of the window with no changing Height

$GUI_DOCKALL 802 2+32+256+512 so the control will not move during resizing


got it from the help file.

F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent]
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...