Skip to main content

UILabel

Inherits from UIView

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


Summary

Properties


Properties

AutoSize

UILabel.AutoSize: bool

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


Font

UILabel.Font: TextFontPreset

The font of the label.


FontSize

UILabel.FontSize: float

The font size of the label.


JustifyText

UILabel.JustifyText: TextJustify

Determines how the text is justified.


MaxFontSize

UILabel.MaxFontSize: float

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


Text

UILabel.Text: string

The text of the label.


TextColor

UILabel.TextColor: Color

The color of the text.


VerticalAlign

UILabel.VerticalAlign: TextVerticalAlign

The vertical alignment of the text.