Change Font Color in TextArea
Sounds simple but there is a little more to it. So I have a textArea that gets populated using a Combo Box, the Combo Box is getting populated via XML (XML Connector), how can I style the textArea?
The only style command that works in the textArea is:
Code:
textAreaName.setStyle("backgroundColor", 0xFFBBBB);
However when I try to change fontSize using the following, it doesn't work:
Code:
textAreaName.setStyle("fontSize", 32);
I think it may have to with the Combo Box populating the textArea. Because I can get the font size to change when it first loads, but when I select a different "item" from the Combo Box all of a sudden the textArea font size goes back to default. How do I fix this?