Miliastra Wonderland Lua API

ClientUITextWindowControl

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

Fields12

ClientUITextWindowControl.interactable : boolean

[Read/Write] Whether user input can scroll the text window.

ClientUITextWindowControl.showScrollBar : boolean

[Read/Write] Whether to show the scrollbar.

ClientUITextWindowControl.text : string

[Read/Write] The displayed text.

ClientUITextWindowControl.fontSize : integer

[Read/Write/Tweenable] The font size.

ClientUITextWindowControl.fontColor : ColorValue

[Read/Write/Tweenable] The font color.

ClientUITextWindowControl.bgColor : ColorValue

[Read/Write/Tweenable] The background color.

ClientUITextWindowControl.enableOutline : boolean

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

ClientUITextWindowControl.outlineColor : ColorValue

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

ClientUITextWindowControl.horizontalAlignment : EnumItem.TextHorizontalAlignment

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

ClientUITextWindowControl.verticalAlignment : EnumItem.TextVerticalAlignment

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

ClientUITextWindowControl.adaptiveFontSize : boolean

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

ClientUITextWindowControl.minimumFontSize : integer

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