Navigation
API > API/Runtime > API/Runtime/Slate
The different methods that can be used if a word is too long to be broken by the default line-break iterator.
| Name | ETextWrappingPolicy |
| Type | enum |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h |
| Include Path | #include "Framework/Text/TextLayout.h" |
Syntax
enum ETextWrappingPolicy
{
DefaultWrapping = 0,
AllowPerCharacterWrapping,
}
Values
| Name | Remarks |
|---|---|
| DefaultWrapping | No fallback, just use the given line-break iterator |
| AllowPerCharacterWrapping | Fallback to per-character wrapping if a word is too long |