FlowLayout
class in package klyn.gui.windows.layouts

    public class FlowLayout extends Layout:

Layout
└ FlowLayout

Flow layout.

Widgets are placed left-to-right and automatically wrap to the next row.

    layout = FlowLayout(horizontalSpacing=6, verticalSpacing=6)
    tags = Container(layout)
    layout.add(Label("alpha"))
    layout.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.

Properties inherited from Layout: container
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, _growX, _growY, _horizontalSizePolicy, _innerHeight, _innerWidth, _innerX, _innerY, _marginBottom, _marginLeft, _marginRight, _marginTop, _max, _min, _normalizeAlign, _place, _preferredHeight, _preferredWidth, _verticalSizePolicy, add, attach, detach, layout