TextXAlignment (Property)

From Legacy Roblox Wiki
Revision as of 20:25, 20 July 2011 by >Trappingnoobs
Jump to navigationJump to search

You might be looking for one of these pages:
TextXAlignment (Enum)

TextXAlignment
Property Enum TextXAlignment
Description Sets where the text is placed in a GUI on the X axis.
Member of TextBox, TextButton, TextLabel



Example
The resulting label's text will be centered.
Instance.new('TextLabel', script.Parent).TextXAlignment = Enum.TextXAlignment.Center