FallLayout
From Crumbled World Wiki
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. |