Enumeration WrapMode

The mode to use for text wrapping in TextHelper.

Enumeration Members

Enumeration Members

None: 0

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

Normal: 1

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

Shrink: 2

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.

Generated using TypeDoc