Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UTextBlock
- UCommonTextBlock
- UCommonDateTimeTextBlock
- UCommonNumericTextBlock
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonTextBlock.h |
| Include | #include "CommonTextBlock.h" |
Syntax
UCLASS (Config=CommonUI, defaultconfig, ClassGroup=UI,
Meta=(Category="Common UI", DisplayName="Common Text", prioritizeCategories="Content"))
class UCommonTextBlock : public UTextBlock
Remarks
Text block with automatic scrolling for FX / large texts, also supports a larger set of default styling, & custom mobile scaling.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | MobileFontSizeMultiplier | Mobile font size multiplier. Activated by default on mobile. See CVar Mobile_PreviewFontSize |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCommonTextBlock
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
||
| const FMargin & | GetMargin () |
||
| float | |||
| const FText | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | PostLoad () |
||
| TSharedRef< SWidget > | |||
| void | ReleaseSlateResources
(
bool bReleaseChildren |
||
| void | |||
| void | Serialize
(
FArchive& Ar |
||
| void | SetApplyLineHeightToBottomLine
(
bool InApplyLineHeightToBottomLine |
||
| void | SetLineHeightPercentage
(
float InLineHeightPercentage |
||
| void | SetMargin
(
const FMargin& InMargin |
||
| void | SetMobileFontSizeMultiplier
(
float InMobileFontSizeMultiplier |
Sets the new value and then applies the FontSizeMultiplier | |
| void | SetScrollingEnabled
(
bool bInIsScrollingEnabled |
||
| void | SetStyle
(
TSubclassOf< UCommonTextStyle > InStyle |
||
| void | SetTextCase
(
bool bUseAllCaps |
||
| void | SetWrapTextWidth
(
int32 InWrapTextAt |
||
| void |