UI.LayoutClass¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
Not used. | Any |
||
Output ➡️ |
A Layout class that can be used in other UI shards. | LayoutClass |
||
Parent |
No | The parent Layout class to inherit parameters from. | none |
Var(LayoutClass) None |
MainDirection |
No | The primary direction of the UI element layout. | none |
LayoutDirection None |
MainWrap |
No | Should UI elements wrap when reaching the end of the main direction. | none |
Bool Var(Bool) None |
MainAlign |
No | Alignment of UI elements along the main axis. | none |
LayoutAlign None |
MainJustify |
No | Justification of UI elements along the main axis. | none |
Bool Var(Bool) None |
CrossAlign |
No | Alignment of UI elements along the cross axis. | none |
LayoutAlign None |
CrossJustify |
No | Justification of UI elements along the cross axis. | none |
Bool Var(Bool) None |
MinSize |
No | Minimum space reserved for UI contents. Overridden by FillWidth and FillHeight. | none |
Float2 Var(Float2) None |
MaxSize |
No | Maximum space reserved for UI contents. Overridden by FillWidth and FillHeight. | none |
Float2 Var(Float2) None |
FillWidth |
No | Whether the layout should occupy the full width. | none |
Bool Var(Bool) None |
FillHeight |
No | Whether the layout should occupy the full height. | none |
Bool Var(Bool) None |
Disabled |
No | Whether the layout should be disabled. | none |
Bool Var(Bool) None |
Frame |
No | Frame to be drawn around the layout. | none |
LayoutFrame None |
EnableHorizontalScrollBar |
No | Enable the horizontal scroll bar. Creates a ScrollArea if true. | none |
Bool Var(Bool) None |
EnableVerticalScrollBar |
No | Enable the vertical scroll bar. Creates a ScrollArea if true. | none |
Bool Var(Bool) None |
ScrollBarVisibility |
No | Visibility of the scroll bars: AlwaysVisible, VisibleWhenNeeded, or AlwaysHidden. Default: AlwaysVisible. | none |
ScrollVisibility None |
ScrollAreaMinWidth |
No | Minimum width of the scroll area. | none |
Float Var(Float) None |
ScrollAreaMinHeight |
No | Minimum height of the scroll area. | none |
Float Var(Float) None |
ScrollAreaMaxWidth |
No | Maximum width of the scroll area. | none |
Float Var(Float) None |
ScrollAreaMaxHeight |
No | Maximum height of the scroll area. | none |
Float Var(Float) None |
ScrollAreaAutoShrinkWidth |
No | Auto-shrink scroll area width to fit contents. | none |
Bool Var(Bool) None |
ScrollAreaAutoShrinkHeight |
No | Auto-shrink scroll area height to fit contents. | none |
Bool Var(Bool) None |
ScrollAreaEnableScrolling |
No | Enable scrolling in the scroll area. | none |
Bool Var(Bool) None |
This shard creates a Layout class that can be used in other UI shards.