My copy of the doc says there is a columnWidth property on HorizontalList

On 1/26/10 9:38 AM, "Rich Christiansen" <[email protected]> wrote:




   [Attachment(s) <#TopText> from Rich Christiansen included below]

Hello!

I'm having a hard time figuring out how to dynamically size ItemRenderers in my 
app.

The screenshot I've attached is from Picasa (not my app), and it demonstrates 
what I'm trying to do.  The thumbnails along the top of the image are displayed 
in a HorizontalList, and their size is dictated by the slider (which I've 
circled in red).  As the slider moves to the right, the thumbnails get larger, 
and as it moves to the left, the thumbnails get smaller.

I've found some tips on how to make this work in a TileList (with columnWidth 
and rowHeight), but in a HorizontalList, there is no columnWidth parameter.  
I've also tried altering the width property in all of its varieties (e.g. 
explicitWidth), along with invalidating the component and dispatching an 
Event.RESIZE event.  However, nothing I do seems to have any effect.  Can 
someone please point me in the right direction?

Thanks! :)
-Rich

P.S. That's Shawn White in the thumbnails, competing at last weekend's US 
Superpipe Finals in Park City, Utah.  His run was absolutely incredible.





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to