TextYAlignment (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Pauljkl New page: {{Property| name = TextYAlignment |property = Enum ''TextYAlignment'' |description = Sets where the text is placed in a GUI on the Y axis |object = [[RBX.lua.TextButton (Object)|TextBu... |
>Legend26 No edit summary |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Property| | <onlyinclude>{{Property | ||
name = TextYAlignment | |name = TextYAlignment | ||
|property = [[Enum]] ''TextYAlignment'' | |property = [[TextYAlignment (Enum)|TextYAlignment]] ''TextYAlignment'' | ||
|description = Sets where the text is placed in a GUI on the Y axis | |description = Sets where the text is placed in a GUI on the Y axis. | ||
| | |objects = [[TextBox]], [[TextButton]], [[TextLabel]] | ||
}}</onlyinclude> | |||
{{clear floats}} | |||
{| | {{Example|The resulting label's text will be centered.<pre> | ||
Instance.new('TextLabel', script.Parent).TextYAlignment = Enum.TextYAlignment.Center | |||
</pre>}} | |||
[[Category:Properties]] | |||
Latest revision as of 22:31, 23 December 2011
![]() | |
Property | TextYAlignment TextYAlignment |
Description | Sets where the text is placed in a GUI on the Y axis. |
Member of | TextBox, TextButton, TextLabel |
Example
The resulting label's text will be centered.Instance.new('TextLabel', script.Parent).TextYAlignment = Enum.TextYAlignment.Center