ILayout

Relative positions will be only affected. Static positions must be updated by container.

Members

Functions

expand
void expand(Widget root)

Called by widget when ExpandLayout event occurs.

minimize
void minimize(Widget root)

Called by widget when MinimizeLayout event occurs.

onContainerResized
void onContainerResized(Widget root, ivec2 oldSize, ivec2 newSize)

Called by container to update its children positions and sizes.

Meta