collapsible

inline fun <S> KWidget<S>.collapsible(defaultSpacing: Boolean = false, init: KCollapsible.(S) -> Unit = {}): KCollapsible

Return

a CollapsibleWidget instance with a VisTable added to this group.

Parameters

defaultSpacing

if true, default VisUI spacing will be applied to this widget's table.

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.