FontSize (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy fixed up; used enum template; added example; |
>Mattchewy Fixing multiple objects |
||
Line 3: | Line 3: | ||
|property = [[Enum]] ''fontSize'' | |property = [[Enum]] ''fontSize'' | ||
|description = Changes the font size of a GUI object. | |description = Changes the font size of a GUI object. | ||
| | |objects = [[TextBox]], [[TextButton]], [[TextLabel]] | ||
}}</onlyinclude> | }}</onlyinclude> | ||
Revision as of 02:40, 23 January 2011
![]() | |
Property | Enum fontSize |
Description | Changes the font size of a GUI object. |
Member of | TextBox, TextButton, TextLabel |
![]() | ||
Enum | Name | Description |
0 | Size8 | The text is set to size 8. |
1 | Size9 | The text is set to size 9. |
2 | Size10 | The text is set to size 10. |
3 | Size11 | The text is set to size 11. |
4 | Size12 | The text is set to size 12. |
5 | Size14 | The text is set to size 14. |
6 | Size18 | The text is set to size 18. |
7 | Size24 | The text is set to size 24. |
8 | Size36 | The text is set to size 36. |
9 | Size48 | The text is set to size 48. |
Example
The resulting label's text will have a font size of 24.Instance.new('TextLabel', script.Parent).FontSize = Enum.FontSize.Size24