Miliastra Wonderland Lua API

ClientUITextBoxControl

The type that represents an instance of a Text Box Control component.

Fields10

ClientUITextBoxControl.text : string

[Read/Write] The displayed text.

ClientUITextBoxControl.fontSize : integer

[Read/Write/Tweenable] The font size.

ClientUITextBoxControl.fontColor : ColorValue

[Read/Write/Tweenable] The font color.

ClientUITextBoxControl.bgColor : ColorValue

[Read/Write/Tweenable] The background color.

ClientUITextBoxControl.enableOutline : boolean

[Read/Write] Whether the text outline is enabled.

ClientUITextBoxControl.outlineColor : ColorValue

[Read/Write/Tweenable] The text outline color.

ClientUITextBoxControl.horizontalAlignment : EnumItem.TextHorizontalAlignment

[Read/Write] The horizontal alignment of the text.

ClientUITextBoxControl.verticalAlignment : EnumItem.TextVerticalAlignment

[Read/Write] The vertical alignment of the text.

ClientUITextBoxControl.adaptiveFontSize : boolean

[Read/Write] Whether the font size should adapt to the bounds of the text box.

ClientUITextBoxControl.minimumFontSize : integer

[Read/Write/Tweenable] The minimum font size when adaptive font size is enabled.