FallLayout: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:FallLayoutExampleCode}} ==Inheritance== Layout ==Constructor== {| class="wikitable" !|function !|description |- |FallLayout(Alignment align) | |- |FallLayout(PanelSize panelSpacing) | |- |FallLayout(Alignment align, PanelSize panelSpacing) | |- |FallLayout(FallLayout fallLayout) | |- |FallLayout() | |- |} ==Functions== {| class="wikitable" !|return !|function !|description |- |Alignment |getAlignment() |Get Ali...") |
(No difference)
|
Latest revision as of 13:41, 5 July 2025
Example
local panel = form:add(Panel(PanelSize(Vec2(-1))))
--Set a FallLayout to the panel.
panel:setLayout(FallLayout())
Inheritance
Constructor
| function | description |
|---|---|
| FallLayout(Alignment align) | |
| FallLayout(PanelSize panelSpacing) | |
| FallLayout(Alignment align, PanelSize panelSpacing) | |
| FallLayout(FallLayout fallLayout) | |
| FallLayout() |
Functions
| return | function | description |
|---|---|---|
| Alignment | getAlignment() | Get Alignment. |
| setAlignment(Alignment align) | set Alignment. |