FontSize (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
New page: {{Property| name=FontSize| property=''Enum'' FontSize| object=TextLabel, TextButton, TextBox...
>JulienDethurens
No edit summary
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Property|
<onlyinclude>{{Property
name=FontSize|
|name = FontSize
property=''[[Enum]]'' FontSize|
|type = [[FontSize (Enum)|FontSize]]
object=[[RBX.lua.TextLabel (Object)|TextLabel]], [[RBX.lua.TextButton (Object)|TextButton]], [[RBX.lua.TextBox (Object)|TextBox]]}}
|description = Changes the font size of a GUI object.
|objects = [[TextBox]], [[TextButton]], [[TextLabel]]
}}</onlyinclude>
 
{{clear floats}}
 
{{Example|The resulting label's text will have a font size of 24.{{code|=
Instance.new('TextLabel', script.Parent).FontSize = Enum.FontSize.Size24
}}}}
 
[[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