Layout

interface Layout

Basic interface of a layout engine.

Members

Functions

margin
int margin()

The margin of this Layout.

margin
void margin(int )

Sets the margin of this Layout.

performLayout
void performLayout(NanoContext ctx, Widget widget)

Performs any and all resizing applicable.

preferredSize
Vector2i preferredSize(NanoContext ctx, Widget widget, Widget skipped)

The preferred size for this layout.

Meta