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

Sparse frame settings; sized controls gain a Border, ScrollArea uses its native frame. More...

#include <ui_control_context.hpp>

Classes

struct  Sides
 Sparse edge presence, preserving omitted receiving insets. More...
struct  TitleEnds
 Sparse owning custom title ends. More...

Public Member Functions

 ~ControlScrollFrameSettings ()=default
 Keep owning transfers fallible; copies are translated at the existing checked boundary.

Public Attributes

std::optional< bool > enabled {}
 Explicit true creates missing default FrameOptions; false removes the frame.
std::optional< PrimitiveGlyphs > glyphs {}
 Glyph selection; requires an effective enabled frame.
std::optional< std::size_t > maxPaintCells {}
 Positive existing frame paint cap; requires an effective frame.
std::optional< FramePattern > pattern {}
 Built-in line pattern.
struct portals::ui::ControlScrollFrameSettings::Sides sides
 Sparse one-cell edge insets.
std::optional< TextValue > title {}
 Owning title expression, resolved before construction.
std::optional< FrameTitleAlignment > titleAlignment {}
 Alignment of the fitting title prefix.
std::optional< std::size_t > maxTitleBytes {}
 Positive complete title byte limit; default 4096.
ControlFrameGlyphSettings customGlyphs {}
 Optional owning six-glyph source.
std::optional< TitleDecoration > titleDecoration {}
 Optional title end preset.
struct portals::ui::ControlScrollFrameSettings::TitleEnds customTitleDecoration
 Sparse override of the preset.

Detailed Description

Sparse frame settings; sized controls gain a Border, ScrollArea uses its native frame.


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