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

Options of column, row and grid. More...

#include <author.hpp>

Public Attributes

AnyHandle gap
 The gap between children: a spacing step, 0 to kMaxSpacingStep.
AnyHandle columns
 A grid's columns; adaptive layouts read env("widthClass").
std::optional< Align > align
 Where the children sit across the axis; absent stretches them.
std::optional< Justify > justify
 A row's or column's spare length along its axis; absent packs at the start. Not on a grid, whose columns share its width.

Detailed Description

Options of column, row and grid.

Definition at line 3357 of file author.hpp.

Member Data Documentation

◆ gap

AnyHandle morph::ui::author::ContainerOptions::gap

The gap between children: a spacing step, 0 to kMaxSpacingStep.

Definition at line 3359 of file author.hpp.

◆ columns

AnyHandle morph::ui::author::ContainerOptions::columns

A grid's columns; adaptive layouts read env("widthClass").

Definition at line 3361 of file author.hpp.

◆ align

std::optional<Align> morph::ui::author::ContainerOptions::align

Where the children sit across the axis; absent stretches them.

Definition at line 3363 of file author.hpp.

◆ justify

std::optional<Justify> morph::ui::author::ContainerOptions::justify

A row's or column's spare length along its axis; absent packs at the start. Not on a grid, whose columns share its width.

Definition at line 3366 of file author.hpp.


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