FlowLayoutExampleCode

From Crumbled World Wiki

Example

local panel = form:add(Panel(PanelSize(Vec2(-1))))
--Set a FlowLayout to the panel. Note that doing this i meaningless because FlowLayout is the default layout. 
panel:setLayout(FlowLayout())