TextXAlignment (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Trappingnoobs No edit summary |
>Legend26 No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Property | <onlyinclude>{{Property | ||
|name = TextXAlignment | |name = TextXAlignment | ||
|property = [[Enum]] ''TextXAlignment'' | |property = [[TextXAlignment (Enum)|TextXAlignment]] ''TextXAlignment'' | ||
|description = Sets where the text is placed in a GUI on the X axis. | |description = Sets where the text is placed in a GUI on the X axis. | ||
|objects = [[TextBox]], [[TextButton]], [[TextLabel]] | |objects = [[TextBox]], [[TextButton]], [[TextLabel]] | ||
Line 10: | Line 8: | ||
{{clear floats}} | {{clear floats}} | ||
{{Example|The resulting label's text will be centered.<pre> | {{Example|The resulting label's text will be centered.<pre> |
Revision as of 22:31, 23 December 2011
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