Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
enum ETextOverflowPolicy
{
Clip = 0,
Ellipsis,
MultilineEllipsis,
MiddleEllipsis,
}
Values
| Name | Description |
|---|---|
| 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 |
Remarks
The different methods that can be used to determine what happens to text when it is longer than its allowed length