|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Cells laid out row-major in a fixed number of columns. More...
#include <view.hpp>
Public Attributes | |
| int | columns = 1 |
| The column count. | |
| std::vector< GridCell > | cells |
| The cells, row-major. | |
| int | gap = 0 |
| Space between cells: a spacing step, 0 to kMaxSpacingStep. | |
| Common | common {} |
| Visibility, enablement, layout, drag-and-drop. | |
| Align | align = Align::Stretch |
| Where each cell's content sits vertically in its row; set once. A grid's columns share its width, so there is no spare length to justify. | |
| std::vector<GridCell> morph::ui::Grid::cells |
| int morph::ui::Grid::gap = 0 |
Space between cells: a spacing step, 0 to kMaxSpacingStep.
| Common morph::ui::Grid::common {} |
| Align morph::ui::Grid::align = Align::Stretch |