Forum Discussion
belltown
9 years agoRoku Guru
"philotas" wrote:"belltown" wrote:
You can change the font size of any of the system fonts to any value you want,
How do I do that in SceneGraph for a Label Node?
I can set the Size of a Font Node, but afaik I cannot create a Font Node with a system font?
Set the size property of the label's font property, e.g. in your component's init() function:
<Label
id="labelNode"
text="Ultimate Label"
font="font:LargeBoldSystemFont" />
label = m.top.findNode("labelNode")
label.font.size = 42