flowGroup

inline fun <S> KWidget<S>.flowGroup(vertical: Boolean = false, spacing: Float = 0.0f, init: KFlowGroup.(S) -> Unit = {}): KFlowGroup

Return

a FlowGroup instance added to this group.

Parameters

vertical

if true, child actors will be stacked vertically. If false, they will be placed horizontally.

spacing

item spacing of this group.

init

will be invoked with the widget as "this". Consumes actor container (usually a Cell or Node) that contains the widget. Might consume the actor itself if this group does not keep actors in dedicated containers. Inlined.