--- In flexcoders@yahoogroups.com, "droponrcll" <amyblankens...@...> wrote:
>
> I think the MXML is more readable for a TextArea if you use the mx:htmlText 
> property, but I found that I got a giant left indent on the first line and 
> unexpected line breaks in the TextArea (with a giant indent again) when I 
> used it, whether I included any markup in the property or not.  If I use the 
> inline htmlText attribute, everything works fine.
> 
> Why is there a difference, and has anyone found a workaround?  I tried 
> setting XML.ignoreWhitespace, XML.prettyIndent, etc., but nothing helped.

Thanks, everyone, for the flood of responses on this one ;-).

I figured out that if I took out the CDATA stuff that gets dumped in there by 
Flex Builder, the wonky alignment doesn't happen.  You have to escape special 
characters to have them read as markup, but I can live with that.

I ask again: does anyone know why this happens?

Thanks;

Amy

Reply via email to