TextXAlignment (Property)

From Legacy Roblox Wiki
Revision as of 22:31, 23 December 2011 by >Legend26
Jump to navigationJump to search
TextXAlignment
Property TextXAlignment 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