15 align_t childAlignment = ALIGN_TOP;
21 void calcChildBounds(
int index);
59 return childAlignment;
62 DERIVE_EVENT_HANDLERS(
Column)
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 vertically organizes its children into a structured column.
Definition column.hpp:11
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.
void setMinHeight(uisize_t minHeight)
Set the minimum height of each cell in the column.
align_t getChildAlign() const
Get where to start when displaying child widgets; on the top, or bottom.
Definition column.hpp:58
void setChildAlign(align_t align)
Set where to start when displaying child widgets; on the top, or bottom.
uisize_t getMinHeight() const
Get the minimum height of each cell in the column.
Definition column.hpp:50
uint16_t uisize_t
A non-negative size for UI widgets.
Definition size.hpp:12