Why are you using TextArea?  Do you need editability or scrolling?
Otherwise, I would modify ListItemRenderer to get multiline text

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of florian d'erfurth
Sent: Wednesday, December 05, 2007 7:59 AM
To: [email protected]
Subject: [flexcomponents] List variableRowHeight and custom itemrenderer
trouble.

 

Hi everyone :)

I have a lot of trouble trying to use a slightly modified textArea
that adapt in height to fit with to the text as an itemRenderer in a
List.

The problem is that when a list row change its height, the data is
reloaded, so each time my textArea try to grow the text is reset to
its original state !

So i guess the solution would be to avoid the List to reload data from
the dataprovider and... well i'm pretty stuck :/

 

Reply via email to