TextField has a problem calculating numLines if text contains CR/LF
symbols.
Dmitri.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
At measure time, it's width may not have been passed to the internal
textfield.
From:
--- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote:
TextField has a problem calculating numLines if text contains CR/LF
symbols.
Still, I don't know why you've got such a difference in your case.
I am using the following thing:
override public function set
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
On 2/28/08, targetplanet [EMAIL PROTECTED] wrote:
but it seems the textHeight can't be relied on, because it gives me
crazy numbers that can't be right, like for 3 lines of text it says
its 250.
I am using
What is the width (not textWidth) of the TextArea? If it is narrow, it
will affect textHeight. If you look at measurement code in Text.as or
in ListItemRenderer.as, you'll see that we fix the width before getting
textHeight.
From: flexcoders@yahoogroups.com
4 matches
Mail list logo