2 Replies Latest reply on Oct 21, 2010 4:30 PM by smon_ed

    Spark Button Label with mixed font styles

    smon_ed Level 1

      I have a spark button, with a custom skin.

       

      I would like to use italicised text mixed with normal text for the label.

       

      Is there any way to do that?

       

      A crucial aspect of my problem is that I am extending the Button component because I want to keep its accessibility features.  I'm finding it very hard to find any info on how I might consider customising the button text.

       

      I have got as far as setting the text component in my button skin to be a RichText component.  But how could I assign rich text to it within the button?