2 Replies Latest reply on Apr 25, 2011 2:24 PM by Wesley.Petrowski

    Spark RichText - no word wrap with percentage width

    Wesley.Petrowski

      Hello,

       

      With the old mx Text component, I could specify a percentage width, and have the height of the Text component automatically increase to show all the text.  I'm switching over to use the spark RichText component, and now this automatic wordwrap does not work with a percentage width (or by setting both left and right styles) - it just displays the first line of text and that's it.  It still works if I set an explicit width in pixels, but I want to be able to set a percentage width.

       

      Is there a way to get the height to calculate automatically like it did before when using a percentage width?