This content has been marked as final. Show 5 replies
Flex does not support the full set of HTML tags. There is most likely some character there that is not supported by flex and is not able to be displayed however it is still there and takes up space.
If you could paste the htmlText it would help.
Extra line is a CR/LF. As far as HTML goes that is white space.
This is the tag
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT SIZE="11" LETTERSPACING="0" KERNING="0" FACE="Verdana" COLOR="#333333">sdjaflksafjlskfjlsad</FONT></P></TEXTFORMAT>
It only happens when the text is long so that it needs to be wrapped to the next line. If the text can fit in in a single line, it has no extra line when I select it.
Looking at the text property of a text object that meets the word wrap definition from your first post this is what the text attribute says. The \r is a return sequence.
The Celtics and Patriots and Red Sox are from boston.\r
If you give your text object a specific height then the return is not there. Looks like that is how Flex does it.
I think it is because of the LEADING of the TEXTFORMAT. If I set it to be "0" it does not have an extra line. How can I do that so that I don't have an extra line but at the same time I want some spacing between the lines.