Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/TextWidgetTypes.h |
Include |
#include "Components/TextWidgetTypes.h" |
class UTextLayoutWidget : public UWidget
Base class for all widgets that use a text layout. Contains the common options that should be exposed for the underlying Slate widget.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
AutoWrapText |
True if we're wrapping text automatically based on the computed horizontal space for this widget. |
|
TEnumAsByte< ET... |
Justification |
How the text should be aligned with the margin. |
|
float |
LineHeightPercentage |
The amount to scale each lines height by. |
|
Margin |
The amount of blank space left around the edges of text area. |
|
|
ShapedTextOptions |
Controls how the text within this widget should be shaped. |
|
|
WrappingPolicy |
The wrapping policy to use. |
|
|
float |
WrapTextAt |
Whether text wraps onto a new line when it's length exceeds this width; if this value is zero or negative, no wrapping occurs. |
Name | Description | |
---|---|---|
|
UTextLayoutWidget ( |
Name | Description | ||
---|---|---|---|
|
GetAutoWrapText() |
||
|
float |
GetWrapTextAt() |
|
|
SetJustification ( |
||
|
SynchronizeTextLayoutProperties ( |
Synchronize the properties with the given widget. |