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

Owning linear container options. More...

#include <layout.hpp>

Public Attributes

std::int32_t gap {}
 Cells between visible children only.
LayoutPadding padding
 Insets, retained during shortage.
LayoutAlign main_align {LayoutAlign::START}
 Group alignment after allocation; stretch is start on this axis.
LayoutAlign cross_align {LayoutAlign::STRETCH}
 Child alignment across the linear direction.
LayoutOverflow overflow {LayoutOverflow::CLIP}
 Explicit shortage policy.

Detailed Description

Owning linear container options.


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