TableLayout

layout children as table with rows and columns

Constructors

this
this(string ID)
Undocumented in source.
this
this()
Undocumented in source.

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

colCount
int colCount [@property getter]

number of columns

colCount
int colCount [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
rowCount
int rowCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

TableLayoutCell
struct TableLayoutCell
Undocumented in source.
TableLayoutGroup
struct TableLayoutGroup
Undocumented in source.
TableLayoutHelper
struct TableLayoutHelper
Undocumented in source.

Variables

_cells
TableLayoutHelper _cells;
Undocumented in source.
_colCount
int _colCount;
Undocumented in source.

Inherited Members

From WidgetGroupDefaultDrawing

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

Meta