Navigation
API > API/Runtime > API/Runtime/UMG
Base class for all widgets that use a text layout. Contains the common options that should be exposed for the underlying Slate widget.
| Name | UTextLayoutWidget |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/TextWidgetTypes.h |
| Include Path | #include "Components/TextWidgetTypes.h" |
Syntax
UCLASS (Abstract, BlueprintType, MinimalAPI)
class UTextLayoutWidget : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UTextLayoutWidget
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTextLayoutWidget
(
const FObjectInitializer& ObjectInitializer |
Components/TextWidgetTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetAutoWrapText() |
Components/TextWidgetTypes.h | ||
float GetWrapTextAt() |
Components/TextWidgetTypes.h | ||
void SetApplyLineHeightToBottomLine
(
bool InApplyLineHeightToBottomLine |
Components/TextWidgetTypes.h | ||
void SetAutoWrapText
(
bool InAutoWrapText |
Components/TextWidgetTypes.h | ||
virtual void SetJustification
(
ETextJustify::Type InJustification |
Components/TextWidgetTypes.h |
|
|
void SetLineHeightPercentage
(
float InLineHeightPercentage |
Components/TextWidgetTypes.h | ||
void SetMargin
(
const FMargin& InMargin |
Components/TextWidgetTypes.h | ||
void SetShapedTextOptions
(
FShapedTextOptions InShapedTextOptions |
Components/TextWidgetTypes.h | ||
void SetWrappingPolicy
(
ETextWrappingPolicy InWrappingPolicy |
Components/TextWidgetTypes.h | ||
void SetWrapTextAt
(
float InWrapTextAt |
Components/TextWidgetTypes.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnApplyLineHeightToBottomLineChanged
(
bool InApplyLineHeightToBottomLine |
Components/TextWidgetTypes.h | ||
virtual void OnAutoWrapTextChanged
(
bool InAutoWrapText |
Components/TextWidgetTypes.h | ||
virtual void OnJustificationChanged
(
ETextJustify::Type InJustification |
Components/TextWidgetTypes.h | ||
virtual void OnLineHeightPercentageChanged
(
float InLineHeightPercentage |
Components/TextWidgetTypes.h | ||
virtual void OnMarginChanged
(
const FMargin& InMargin |
Components/TextWidgetTypes.h | ||
virtual void OnShapedTextOptionsChanged
(
FShapedTextOptions InShapedTextOptions |
Components/TextWidgetTypes.h | ||
virtual void OnWrappingPolicyChanged
(
ETextWrappingPolicy InWrappingPolicy |
Components/TextWidgetTypes.h | ||
virtual void OnWrapTextAtChanged
(
float InWrapTextAt |
Components/TextWidgetTypes.h | ||
void SynchronizeTextLayoutProperties
(
TWidgetType& InWidget |
Synchronize the properties with the given widget. | Components/TextWidgetTypes.h |