416 B
416 B
setFontSize
Sets the font size, calculated by bigfonts. Default size is 1.
Parameters:
numberThe size (1, 2, 3, 4)
Returns:
objectThe object in use
Usage:
- Creates a default label, sets the text to "Basalt!" and its font size to 2.
local mainFrame = basalt.createFrame()
local aLabel = mainFrame:addLabel():setText("Basalt!"):setFontSize(2)
<label font="2" />