Class TextLayoutWidget
Base class for all widgets that use a text layout.
Inheritance
System.Object
TextLayoutWidget
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class TextLayoutWidget : Widget
Remarks
Contains the common options that should be exposed for the underlying Slate widget.
Properties
| Improve this Doc View SourceAutoWrapText
Declaration
public bool AutoWrapText { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static TextLayoutWidget DefaultObject { get; }
Property Value
Type | Description |
---|---|
TextLayoutWidget |
Justification
How the text should be aligned with the margin.
Declaration
public byte Justification { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
LineHeightPercentage
The amount to scale each lines height by.
Declaration
public float LineHeightPercentage { get; }
Property Value
Type | Description |
---|---|
System.Single |
Margin
The amount of blank space left around the edges of text area.
Declaration
public Margin Margin { get; }
Property Value
Type | Description |
---|---|
Margin |
ShapedTextOptions
Controls how the text within this widget should be shaped.
Declaration
public ShapedTextOptions ShapedTextOptions { get; }
Property Value
Type | Description |
---|---|
ShapedTextOptions |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
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.
Declaration
public float WrapTextAt { get; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static TextLayoutWidget New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
TextLayoutWidget |
Operators
| Improve this Doc View SourceImplicit(IntPtr to TextLayoutWidget)
Convert from IntPtr to UObject
Declaration
public static implicit operator TextLayoutWidget(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
TextLayoutWidget |