[flexcoders] mx:Text and line height

2009-03-27 Thread carloscarvalhar
Hi, how can i get a correct line heigth of mx:Text? This is code that i'm using: public function get textLineHeight():uint { var textLineMetrics:TextLineMetrics = this.getLineMetrics(0); _textLineHeight = textLineMetrics.height + textLineMetrics.leading; return

RE: [flexcoders] mx:Text and line height

2009-03-27 Thread Alex Harui
Sent: Friday, March 27, 2009 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:Text and line height Hi, how can i get a correct line heigth of mx:Text? This is code that i'm using: public function get textLineHeight():uint { var textLineMetrics:TextLineMetrics = this.getLineMetrics