Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::GridItemOptions Struct Reference

Owning parent-child relationship; omitted coordinates request automatic placement. More...

#include <grid.hpp>

Public Attributes

std::optional< std::size_t > row
 Local zero-based row; must be supplied together with column.
std::optional< std::size_t > column
 Local zero-based column; must be supplied together with row.
std::size_t rowSpan {1}
 Positive number of occupied rows.
std::size_t columnSpan {1}
 Positive number of occupied columns.
LayoutAlign horizontal {LayoutAlign::STRETCH}
 Horizontal alignment inside the complete span.
LayoutAlign vertical {LayoutAlign::STRETCH}
 Vertical alignment inside the complete span.
GridRegion region {GridRegion::BODY}
 Independent region; HEADER requires declarative regions.

Detailed Description

Owning parent-child relationship; omitted coordinates request automatic placement.


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