TextYAlignment (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>PurpleKiwi
Repetitive sentence was repetitive.
>Trappingnoobs
Disambig to enum page removed enum.
Line 1: Line 1:
{{Disambig|[[TextYAlignment (Enum)]]}}
<onlyinclude>{{Property
<onlyinclude>{{Property
|name = TextYAlignment
|name = TextYAlignment
Line 7: Line 9:


{{clear floats}}
{{clear floats}}
{{Enum|The TextYAlignment [[Enum]] controls the vertical alignment of text.  It holds 3 values.|
{{Enum/row|0|Left|The text is set aligned to the left.}}
{{Enum/row|1|Right|The text is set aligned to the right.}}
{{Enum/row|2|Center|The text is set aligned to the center.}}
}}


<br />
<br />

Revision as of 20:26, 20 July 2011

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

TextYAlignment
Property Enum 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