Navigation
API > API/Runtime > API/Runtime/SlateCore
The different methods that can be used to determine what happens to text when it is longer than its allowed length
| Name | ETextOverflowPolicy |
| Type | enum |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
enum ETextOverflowPolicy
{
Clip = 0,
Ellipsis,
MultilineEllipsis,
MiddleEllipsis,
}
Values
| Name | Remarks |
|---|---|
| Clip | Overflowing text will be clipped |
| Ellipsis | Overflowing text will be replaced with an ellipsis |
| MultilineEllipsis | Overflowing text will be replaced with an ellipsis. |
| MiddleEllipsis | Overflowing text will be replaced with an ellipsis starting from the center |