Label - Font Colour

You must Login before you can answer or comment on any questions.

Hi, how I set colored label on iOS.

On Android I set with HTML, example:

lab = Ti.UI.createLabel({ 
         ....
         color: '#333333',
         html:'<font color=#3DBA00>ABCDE</font>'+'FGHIJKL',
         // OR
         html:'<font color=#3DBA00>ABCDE</font>'+'<font color=#333333>FGHIJKL</font>',
         ...
      });
But on iOS does not "html/setHtml" :(

— asked 12 months ago by Matej _
1 Comment
    • I don't use more labels...

    — commented 12 months ago by Matej _

1 Answer

In Titanium you cannot change partielly the color of label. May be there is a modul.

Your Answer

Think you can help? Login to answer this question!