10 Replies Latest reply on Nov 30, 2009 5:19 PM by schipmold

    minimum font size RichEditableText

    schipmold

      I'm using RichEditableText (with a TextConverter textFlow) to display emails that have been received which works great for bot clear text as well as HTML emails, however sometimes the HTML is really tiny.

       

      Now I've looked at this for a while and it always appears to be caused by a fault in the HTML markup in the received email.

      Some had a tag like ...<FONT SIZE="1"><SPAN STYLE='font-size:9.0px'>... in it and others had other similar reasons for it to appear very small.

       

      I obviously can't control what tags different mail clients put in their HTML mails, but does anyone know if there's a way of setting like a minimum font size for this RichEditableText so even though the HTML says it should be font size 1, it's actually displayed at the minimum size?

       

      I'm currently using this:

       

       

           <s:RichEditableText id="noteText"     selectable="true" editable="false" textFlow="{TextConverter.importToFlow(theEmail, TextConverter.HTML_FORMAT)}" />

       

       

      Thanks

      Skip