Enumeration WrapMode

The mode to use for text wrapping in TextHelper.

Enumeration Members

Enumeration Members

Ellipsis

No text wrapping, but instead of clipping the text, the end is replaced with ellipsis. If the text won't even fit ellipsis, then the text is clipped.

None

No text wrapping. Text will overflow if it exceeds the maximum width.

Normal

Whitespaces always have width. The default wrapping mode for input widgets

Shrink

Whitespaces at the end of a line which result in an overflow have no width. The default wrapping mode for widgets that display text, since spaces at the beginning of a line due to wrapping looks weird in labels. Whitespaces at the beginning of a new line are still kept, as they are deliberate.