How to change a text style on the fly

I’m trying to figure out how to change a text style on the fly. I’ve tried just setting a new .style but it doesn’t seem to work. Any idea what I might be doing wrong?

1 Like

:wave:

You can use setStyle(style) or any of the individual methods like setFontSize().

1 Like

Thanks! I figures it was something simple. It’s been a long time since I worked on my project! :rofl:

Yea, this is exactly what I’m doing!