LinearLayout

Arranges items either vertically or horizontally

Constructors

this
this()

empty parameter list constructor - for usage by factory

this
this(string ID, Orientation orientation)

create with ID parameter and orientation

Members

Functions

layout
void layout(Rect rc)

Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).

measure
void measure(int parentWidth, int parentHeight)

Measure widget according to desired width and height constraints. (Step 1 of two phase layout).

Properties

orientation
Orientation orientation [@property getter]

returns linear layout orientation (Vertical, Horizontal)

orientation
Orientation orientation [@property setter]

sets linear layout orientation

Variables

_layoutItems
LayoutItems _layoutItems;
Undocumented in source.
_orientation
Orientation _orientation;
Undocumented in source.

Inherited Members

From WidgetGroupDefaultDrawing

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

Meta