PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

TextXAlignment

TextXAlignment

Determines horizontal alignment of text.

Used by TextLabel/TextXAlignment|TextLabel,
TextButton/TextXAlignment|TextButton, and TextBox/TextXAlignment|TextBox.


Enums

Name Value Description

Left

0

Alignment starts at the left side of the GUI object.

Center

2

Aligned starts at the center of the GUI object and spreads equally left and right.

Right

1

Alignment starts at the right side of the GUI object.