Skip to content

UILabel

UILabel is a label that can be used to display text.

Inherits Instance

Properties

AutoSize : boolean

Whether the text should be automatically sized to fit the label's size.

Font : TextFontPreset

The font of the label.

FontSize : float

The font size of the label.

JustifyText : TextJustify

Determines how the text is justified.

MaxFontSize : float

The maximum font size of the UI element if AutoSize is set to true.

Text : string

The text of the label.

TextColor : Color

The color of the text.

VerticalAlign : TextVerticalAlign

The vertical alignment of the text.