GuiLayout

Post your working scripts, libraries and tools for AHK v1.1 and older
cmann
Posts: 8
Joined: 03 Feb 2014, 09:36

GuiLayout

20 Mar 2014, 08:40

Allows you to define rules to automatically position controls.
The script has two functions: GuiLayout_Create which you use to create a layout hierarchy and add controls to it, and GuiLayout_SetSize which will recursively size and position the controls in the layout.
See Example.ahk for a demo of the functionality, and for more detailed information on how to create layout rules see the GuiLayout_Create function comments in GuiLayout.ahk

This was put together fairly quickly and was meant only for my own use so at the moment it isn't as complete as it could be, for example you can only create and add controls to layouts but there are no functions for removing or modifying components once the layout has been created.
Attachments
GuiLayout.zip
(3.76 KiB) Downloaded 160 times

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 147 guests