[flexcoders] Re: Detecting List width from its itemRenderer

2010-08-17 Thread Alexander
Hello Alex and others, --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: The renderer should be given an explicitWidth by the time its measure() method gets called. That would be a good time to choose a different size avatar and report a different measuredHeight. my

[flexcoders] Re: Detecting List width from its itemRenderer

2010-08-17 Thread Alexander
Hello again, I thought I've found a solution by using the List's resize event to change the size of its items, but while it works for the simple test case listed below, it goes into endless loop in my real app with more complex layout and I see the traces: resize list: 0 - 480 resize list: