TextProps struct
#include <GGUI/Public/UITypes.h>
Properties of ui.Label.
Public variables
- std::string_view Class
- its style classes: font, size, colour
- bool bWrap
- wrap when narrower than the text
- bool bSelectable
- selectable and copyable (UIText.h)
- uint8_t MaxLines
- wrapped text: at most this many lines; 0 = any
- bool bEllipsis
- text cut to fit ends with "…"
- float MinScale
- a line too wide is drawn smaller, down to this fraction of its size, before it is cut