Layoutable

An interface of layoutable objects.

Members

Functions

checkNeedLayout
bool checkNeedLayout(bool )

Checks if need to layout completely. Set the first argument true to check recursively.

shift
void shift(vec2 )

Moves the owner and the children.

Properties

childLayoutables
Layoutable[] childLayoutables [@property getter]

Child layoutables.

layoutObject
inout(Layout) layoutObject [@property getter]

Layout object.

wantedSize
vec2 wantedSize [@property getter]

Wanted size.

Inherited Members

From PlacerOwner

style
inout(WidgetStyle) style [@property getter]

Style.

childPlacerOwners
PlacerOwner[] childPlacerOwners [@property getter]

Children.

layout
vec2 layout(vec2 , vec2 )

Places at the pos with the size.

Meta