VBoxLayout
classin packageklyn.gui.windows.layouts
public class VBoxLayout extends Layout:
└ VBoxLayout
Vertical layout. Widgets are stacked from top to bottom. Extra vertical space is distributed according to `LayoutParams.growY`.
page = Container(VBoxLayout(spacing=10))
page.add(Label("Name"))
field = TextBox()
field.layoutParams = LayoutParams(0, 1)
page.add(field)
Properties
Modifier and Type Member Description
public property align
align as String = "fill"
No summary.
public property spacing
spacing as Int = 8
No summary.
Constructors
Modifier and Type Member Description
public VBoxLayout
VBoxLayout(spacing as Int = 8, align as String = "fill"):
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