flex - Setting text color in a StyleableTextField -


Please advise me how to determine the color in the text.

The following does not work for me (the color is black):

  tf.setStyle ('color', 0xFF0000);   

And also:

  tf.setStyle ('color', 'red');    

styledtextfixed in a textcolor Try to use that property ( tf.textcolor = 0xff0000; ).

However, I found out that in my item renders, I ever need to use both the textcolor property and the set styling to replace the colors of StylableTextFields properly I do not know why, yet.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -