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

Sparse LineEdit text bounds; explicit zero retains the low-level TextLimits semantics. More...

#include <ui_control_context.hpp>

Public Attributes

std::optional< std::size_t > maxInputBytes {}
 Maximum UTF-8 input bytes, including initial text and placeholder.
std::optional< std::size_t > maxClusterBytes {}
 Maximum UTF-8 bytes in one grapheme cluster.
std::optional< std::size_t > maxGraphemes {}
 Maximum number of grapheme clusters.
std::optional< std::size_t > maxCells {}
 Maximum display width in terminal cells.

Detailed Description

Sparse LineEdit text bounds; explicit zero retains the low-level TextLimits semantics.


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