FlowLayout
classin packageklyn.gui.windows.layouts
public class FlowLayout extends Layout:
└ FlowLayout
Flow layout. Widgets are placed left-to-right and automatically wrap to the next row.
tags = Container(FlowLayout(horizontalSpacing=6, verticalSpacing=6))
tags.add(Label("alpha"))
tags.add(Label("beta"))
Properties
Modifier and Type Member Description
public property alignment
alignment as String = "start"
No summary.
public property horizontalSpacing
horizontalSpacing as Int = 8
No summary.
public property verticalSpacing
verticalSpacing as Int = 8
No summary.
Constructors
Modifier and Type Member Description
public FlowLayout
FlowLayout(horizontalSpacing as Int = 8, verticalSpacing as Int = 8, alignment as String = "start"):
No summary.
Methods
Modifier and Type Member Description
public override layout
layout(container as Container) as Void:
No summary.
Methods inherited from Layout: _ceilDiv, _childOuterPreferredHeight, _childOuterPreferredWidth, _childParams, _clamp, _edgeBottom, _edgeLeft, _edgeRight, _edgeTop, _innerHeight, _innerWidth, _innerX, _innerY, _marginBottom, _marginLeft, _marginRight, _marginTop, _max, _min, _normalizeAlign, _place, _preferredHeight, _preferredWidth, layout