|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Children laid out left to right. More...
#include <view.hpp>
Public Attributes | |
| std::vector< Node > | children |
| The children, in order; a null child is skipped. | |
| int | gap = 0 |
| Space between children: a spacing step, 0 to kMaxSpacingStep. | |
| Common | common {} |
| Visibility, enablement, layout, drag-and-drop. | |
| std::optional< Prop< std::optional< Tone > > > | tone |
| A table row's tone: disengaged when none was given; an engaged Prop whose value is nullopt has no tone at the moment. Only table's row view sets it; the mount refuses it on a row outside a table. | |
| Align | align = Align::Stretch |
| Where the children sit across the row (vertically); set once. | |
| Justify | justify = Justify::Start |
| Where the spare width goes while no shown child stretches; set once. | |
| std::vector<Node> morph::ui::Row::children |
| int morph::ui::Row::gap = 0 |
Space between children: a spacing step, 0 to kMaxSpacingStep.
| Common morph::ui::Row::common {} |
| Align morph::ui::Row::align = Align::Stretch |
| Justify morph::ui::Row::justify = Justify::Start |