morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::Column Struct Reference

Children stacked top to bottom. 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.
Align align = Align::Stretch
 Where the children sit across the column (horizontally); set once.
Justify justify = Justify::Start
 Where the spare height goes while no shown child stretches; set once.

Detailed Description

Children stacked top to bottom.

Definition at line 564 of file view.hpp.

Member Data Documentation

◆ children

std::vector<Node> morph::ui::Column::children

The children, in order; a null child is skipped.

Definition at line 566 of file view.hpp.

◆ gap

int morph::ui::Column::gap = 0

Space between children: a spacing step, 0 to kMaxSpacingStep.

Definition at line 568 of file view.hpp.

◆ common

Common morph::ui::Column::common {}

Visibility, enablement, layout, drag-and-drop.

Definition at line 570 of file view.hpp.

◆ align

Align morph::ui::Column::align = Align::Stretch

Where the children sit across the column (horizontally); set once.

Definition at line 572 of file view.hpp.

◆ justify

Justify morph::ui::Column::justify = Justify::Start

Where the spare height goes while no shown child stretches; set once.

Definition at line 574 of file view.hpp.


The documentation for this struct was generated from the following file: