Widget Studio
All Classes Functions Variables
FWSTextStyle Struct Reference

The settings for the Widget Studio Text. More...

#include <WSText.h>

Public Member Functions

 UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Widget Studio", Meta=(EditCondition="Type == EWSFontType::Custom", EditConditionHides)) FFontStyle CustomStyle
 A custom font style. More...
 
 UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Widget Studio|Text Wrap", Meta=(ClampMin="0", UIMin="0", ClampMax="10000", UIMax="10000", EditCondition="AutoWrapText == true", EditConditionHides)) float WrapTextAt
 Manually wraps the text at the given distance. More...
 
 UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Widget Studio|Text Wrap", Meta=(EditCondition="AutoWrapText == true", EditConditionHides)) ETextWrappingPolicy WrappingPolicy
 How the text should wrap.
 
 FWSTextStyle (const EWSFontType InType=EWSFontType::Body1, const FFontStyle &InCustomStyle=FFontStyle(), const EFontCase InCase=EFontCase::Sentence, const ETextJustify::Type InJustification=ETextJustify::Left, const bool InAutoWrapText=true, const float InWrapTextAt=0, const ETextWrappingPolicy InWrappingPolicy=ETextWrappingPolicy::DefaultWrapping)
 

Public Attributes

EWSFontType Type
 The font type that'll govern the style of the text.
 
EFontCase Case
 The case of the text.
 
TEnumAsByte< ETextJustify::Type > Justification
 The growth direction and alignment of the text.
 
bool AutoWrapText
 Automatically wraps the text to the next line when it reaches the end of available horizontal space.
 

Detailed Description

The settings for the Widget Studio Text.

Member Function Documentation

◆ UPROPERTY() [1/2]

FWSTextStyle::UPROPERTY ( EditAnywhere  ,
BlueprintReadWrite  ,
Category  = "Widget Studio",
Meta  = (EditCondition="Type == EWSFontType::Custom", EditConditionHides) 
)

A custom font style.

Useful for one-off styles.

◆ UPROPERTY() [2/2]

FWSTextStyle::UPROPERTY ( EditAnywhere  ,
BlueprintReadWrite  ,
Category  = "Widget Studio|Text Wrap",
Meta  = (ClampMin="0", UIMin="0", ClampMax="10000", UIMax="10000", EditCondition="AutoWrapText == true", EditConditionHides) 
)

Manually wraps the text at the given distance.

Ignored if set to 0.


The documentation for this struct was generated from the following file: