Make a test case with default renderers, variableRowHeight=true and wordWrap=true and we'll investigate it.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Doug McCune Sent: Wednesday, February 04, 2009 1:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Custom List Item Render to have multiline (so variable Height) I've pretty much never been able to use variableRowHeight in a real world scenario. Once you start scrolling with item renderers that need to measure themselves based on data, it all gets completely messed up. I'd love it if someone knew how to get it working all the time (as opposed to only on the first rendering pass). But I've basically resigned myself to the fact that variableRowHeight can't be used. Doug On Wed, Feb 4, 2009 at 1:26 PM, Flap Flap <flapflapl...@kilooctet.net<mailto:flapflapl...@kilooctet.net>> wrote: Hi there, Second night that I'm pulling my hairs on this stuff, I'm sure you will give me some good hints. So, I have a custom list item render. It's a VBOx with a GradientCanvas (width 100%, no height) child that have a TextArea for child (width 100%, no height). The GradientCanvas he's a custom component to have a advanced gradient background. The problem is one the TextArea. Here is the behavior that I'd like to have: When text is on several lines, the item renderer should update his height to match the TextArea height. At this moment, the TextArea display scrollbars. I've try with Label (but no multiline). With UITextField, but not a mx component... With Text component but the list act weird with this one... Can you point me to some clues ? thx BenoƮt Milgram / Flapflap http://www.kilooctet.net I'm also a music mashup / bootlegs producer : http://www.djgaston.net