0 Replies Latest reply on Nov 29, 2010 2:09 AM by km79

    Defined Linebreaks in RichText

    km79 Level 1



      I try to set explicit linebreaks in a RichText:


      <s:RichText id="warningStructure" width="100%" fontSize="12" fontWeight="bold" paddingTop="10" paddingBottom="10"
           paddingLeft="10" paddingRight="10" backgroundColor="#AA0000" backgroundAlpha="0.4" color="#000000"
           lineBreak ="explicit" textAlign="center" visible="true">


      I set lineBreak="explicit" and insert a linebreak using \n.

      But this doens't work. The "\n" is printed in the text and no linebreak is done.


      Thus, how can I force linebreaks in RichTexts? I search a lot in the net and here in the (very good!) forum - but all I got is: "set lineBreak to explicit and use \n".


      Many Thanks