unreal.TextOverflowPolicy¶
- class unreal.TextOverflowPolicy¶
Bases:
EnumBaseThe different methods that can be used to determine what happens to text when it is longer than its allowed length
C++ Source:
Module: SlateCore
File: SlateTypes.h
- CLIP: TextOverflowPolicy = Ellipsis¶
Overflowing text will be clipped
- Type:
0
- ELLIPSIS: TextOverflowPolicy = Ellipsis¶
Overflowing text will be replaced with an ellipsis
- Type:
1
- MIDDLE_ELLIPSIS: TextOverflowPolicy = Ellipsis¶
Overflowing text will be replaced with an ellipsis starting from the centern Current Limits: - Multiline is not supported - RichText is not fully supported - Highlight text is not supported - Arabic mix with western character is not supported
- Type:
3
- MULTILINE_ELLIPSIS: TextOverflowPolicy = Ellipsis¶
Overflowing text will be replaced with an ellipsis. A partially clipped line on the vertical axis will be totally clipped, and ellipsis displayed on previous line
- Type:
2