It sounds like a Player quirk that the Flex framework needs to work around. I 
think a fix went in to the measure() method of UITextFormat recently for a 
similar problem with 'indent'. You should file a bug. And if you file a patch, 
it is likely to get fixed sooner.

- Gordon

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andriy 
Panas
Sent: Monday, November 03, 2008 2:38 PM
To: [email protected]
Subject: [flexcoders] Does UIComponent.measureHTMLText(htmlText) method takes 
TextFormat.blockIndent value into the account when calculating width value of 
TextLineMetrics object?


Hi all,

Accordingly to my tests, method "textField.getLineMetrics(0)" that
lays in the core of "UIComponent.measureHTMLText(htmlText)" returns
TextLineMetrics object with the value for the "width" property that is
calculated regardless from the value specified for
"textFormat.blockIndent" value applied to the textField in question.

Is that an intentional behavior?
--
Med venlig hilsen / Best regards
Andriy Panas
[EMAIL PROTECTED]<mailto:a.panas%40gmail.com>

Reply via email to