Not sure when I'll get time to look. The basic trick to getting multiline to work is to set the explicitWidth/width of the text widget so it can define its height correctly. The explicitWidth of the renderer is set by the list class before the renderer's measure() is called.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Atteneder Sent: Friday, November 30, 2007 9:00 AM To: [email protected] Subject: Re: [flexcoders] Height Problems of List component using itemrenderer with different row height With the default renderer with wordWrap = true and variableRowHeight= true it works if I´m setting the height of the list after calling measureHeightOfItems(). But it is not working if you are using more sophisticated ItemRenderers( e.g. with VBox and multiple TextFields, Buttons,...) I´ve already uploaded a simple Example under www.cubeworx.net/ripcurlx/ResizeBug.zip <http://www.cubeworx.net/ripcurlx/ResizeBug.zip> br, Christoph On Nov 30, 2007 5:47 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: does it work with the default renderers with wordWrap=true and variableRowHeight=true? ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Christoph Atteneder Sent: Friday, November 30, 2007 7:43 AM To: [email protected] <mailto:[email protected]> Subject: [flexcoders] Height Problems of List component using itemrenderer with different row height Hi, My problem is following: I have a List component which is filled with a list of properties and I want to know how much space it needs to display all of its items. This only works with single label renderer or renderer with a fixed height, but not with renderer with different row height with Text component. I really have big problems with all releases of the flex 3 framework so far regarding this issue. I´ve uploaded a flex builder project for testing. www.cubeworx.net/ripcurlx/ResizeBug.zip <http://www.cubeworx.net/ripcurlx/ResizeBug.zip> This text wrap size problem is critical for my application, so I hope there is at least a workaround for this issue. thx for any hints in advance br, Christoph

