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

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -