class
GUIOption
Controls GUI element layout options, possibly by overriding the default options specified in GUI element style.
These options control GUI element placement and size in a GUI layout.
Public
Constructors
GUIOption
Methods
staticPosition
Constructs a GUI option notifying the GUI layout that this element should be positioned at this offset from the parent GUI panel.
This option is ignored if element is part of a layout since it controls its placement.
staticFixedWidth
Constructs a GUI option notifying the GUI layout that this element has a fixed width.
This will override the width property set in element style.
staticFlexibleWidth
Constructs a GUI option notifying the GUI layout that this element has a flexible width with optional min/max constraints (value of 0 means no constraint).
This will override the width property set in element style.
staticExpandingWidth
Same as FlexibleWidth, but the width will attempt to expand to the maximum available space, rather than using the optimal width.
staticFixedHeight
Constructs a GUI option notifying the GUI layout that this element has a fixed height.
This will override the height property set in element style.
staticFlexibleHeight
Constructs a GUI option notifying the GUI layout that this element has a flexible height with optional min/max constraints (value of 0 means no constraint).
This will override the height property set in element style.
staticExpandingHeight
Same as FlexibleHeight, but the height will attempt to expand to the maximum available space, rather than using the optimal height.