|
ZenitUI
Retained-mode C++20 UI framework
|
Wrapping, truncation, and whitespace options for TextEngine::layout. More...
#include <TextEngine.hpp>
Public Attributes | |
| float | maxWidth {0.0f} |
| Wrapping / ellipsis width in logical px (<= 0 = unbounded). | |
| bool | wrap {false} |
| Enable soft word/cluster wrapping at maxWidth. | |
| bool | ellipsis {false} |
| Append ellipsisText when overflowing maxWidth or maxLines. | |
| int | maxLines {0} |
| Maximum number of visual lines (<= 0 = unlimited). | |
| bool | preserveSpaces {false} |
| Keep spaces contiguous across soft breaks (for editable fields). | |
| std::string | ellipsisText {"..."} |
| Suffix used when truncating overflowing lines. | |
Wrapping, truncation, and whitespace options for TextEngine::layout.