type

FlowBox

@Js
class FlowBox : Box

FlowBox lays out its children in a one-directional flow.

See also: docDomkit

constructors

fields

gaps

Gaps to insert between child elements.

halign

How to align children inside container.

methods

Slot Details

gaps

Str[] gaps := Str[,]

Gaps to insert between child elements. If gaps.length is less than the number of children, then gaps will be cycled to apply to all children.

halign

Align halign := Align.left

How to align children inside container. Valid values are left, center, right.

make

new make()

onAdd

protected virtual override Void onAdd(Elem c)

onRemove

protected virtual override Void onRemove(Elem c)