SetPanelLayout#
This command is new in build 192
Makes a panel automatically arrange the locations and sizes of its buttons according to your instructions.
Syntax
<SetPanelLayout Panel RowLength Margin [ButtonWidth ButtonHeight]>
# or
<SetPanelLayout off>
Parameters
Panelis the name of the panel.
RowLengthis the maximum number of buttons in a row (counting from left to right). You can specify a number or the word SingleRow.
Marginis the amount of white space, in pixels, between buttons.
ButtonWidthis the width of each button. This argument is optional.
ButtonHeightis the height of each button. This argument is optional.
Offis the word off. This makes the panel stop rearranging itself.
Remarks
Once you use this command for a particular panel, that panel will keep arranging itself automatically every time you add or remove a button.
If you omit ButtonWidth and ButtonHeight, the program doesn’t change the sizes of buttons.
Examples
This hotkey…
<Hotkey F1>
Related topics