Look at this link, it will be quite helpful
http://livedocs.adobe.com/flex/2/langref/flash/text/TextLineMetrics.html
Thanks,
with Regards,
Jitendra Jain
--- On Sun, 29/3/09, Nicolas Noben nicolas.no...@gmail.com wrote:
From: Nicolas Noben nicolas.no...@gmail.com
Subject: [flexcoders] Re: TextArea textHeight with HTMl text?
To: flexcoders@yahoogroups.com
Date: Sunday, 29 March, 2009, 2:13 PM
--- In flexcod...@yahoogro ups.com, Sascha sbal...@... wrote:
I assume this is not supported by Flex but is there a method to get the
correct text height from a TextArea that uses HTML text? If I try this I
never get the correct height to fit the TextArea's height to it's text
content, i.e. the TextArea is always smaller.
I have tried to answer this before. It's not 100% rock solid but it worked for
us.
http://idletogether .com/automatical ly-resize- texttextarea- based-on-
content-autosize -in-flex/
Connect with friends all over the world. Get Yahoo! India Messenger at
http://in.messenger.yahoo.com/?wm=n/