Forum Discussion
sanity-check
2 years agoRoku Guru
Make sure your label has an ID in XML, e.g. id="mylabel", then you can do:
mylabel = m.top.findNode("mylabel")
mylabel.text = "My new text"
- philanderson7772 years agoRoku Guru
Yes as per documentation all these fields can easily be manipulated for text node
https://developer.roku.com/en-gb/docs/references/scenegraph/label-nodes/label.md
height="44" width="0" font="font:MediumBoldSystemFont" text = "Application Development Made Easy!" horizAlign = "left" vertAlign = "center" translation="[318,8]
mylabel.translation = [330,8] for example
Related Content
- 2 years ago
- 8 months ago