FontSize (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
No edit summary
>JulienDethurens
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{{Property
<onlyinclude>{{Property
|name = FontSize
|name = FontSize
|property = [[FontSize (Enum)|FontSize]] ''fontSize''
|type = [[FontSize (Enum)|FontSize]]
|description = Changes the font size of a GUI object.
|description = Changes the font size of a GUI object.
|objects = [[TextBox]], [[TextButton]], [[TextLabel]]
|objects = [[TextBox]], [[TextButton]], [[TextLabel]]
Line 8: Line 8:
{{clear floats}}
{{clear floats}}


{{Example|The resulting label's text will have a font size of 24.<pre>
{{Example|The resulting label's text will have a font size of 24.{{code|=
Instance.new('TextLabel', script.Parent).FontSize = Enum.FontSize.Size24
Instance.new('TextLabel', script.Parent).FontSize = Enum.FontSize.Size24
</pre>}}
}}}}


[[Category:Properties]]
[[Category:Properties]]

Latest revision as of 01:42, 24 March 2012

FontSize
Type FontSize
Description Changes the font size of a GUI object.
Member of TextBox, TextButton, TextLabel


Example
The resulting label's text will have a font size of 24.
Instance.new('TextLabel', script.Parent).FontSize = Enum.FontSize.Size24