15 align_t childAlignment = ALIGN_LEFT;
21 void calcChildBounds(
int index);
59 return childAlignment;
62 DERIVE_EVENT_HANDLERS(
Row)
align_t
The various ways a child widget can be aligned in its parent.
Definition alignment.hpp:11
A container widget for displaying a list of arbitrarily-positioned child widgets.
Definition collection.hpp:11
Collection(const Size &size, const Position &pos={0, 0}, const Alignment &align={ALIGN_LEFT, ALIGN_TOP}, const Padding &padding={0})
Construct a collection.
A container widget that horizontally organizes its children into a structured row.
Definition row.hpp:11
void setChildAlign(align_t align)
Set where to start when displaying child widgets; on the left, or right.
align_t getChildAlign() const
Get where to start when displaying child widgets; on the left, or right.
Definition row.hpp:58
void setMinWidth(uisize_t minWidth)
Set the minimum width of each cell in the row.
void push(Widget *const child) override
Append a child widget to the end of the list.
void update(time_t time) override
Update any internal state of the widget, and check if it needs to be re-rendered.
uisize_t getMinWidth() const
Get the minimum width of each cell in the row.
Definition row.hpp:50
uint16_t uisize_t
A non-negative size for UI widgets.
Definition size.hpp:12