FontSize (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:
{{Disambig|[[FontSize (Enum)]]}}
<onlyinclude>{{Property
<onlyinclude>{{Property
|name = FontSize
|name = FontSize
|property = [[Enum]] ''fontSize''
|property = [[FontSize (Enum)|FontSize]] ''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]]

Revision as of 22:33, 23 December 2011

FontSize
Property FontSize 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