Copy ListItemrenderer, and look at its functionality, especially the measure
function.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of hworke
Sent: Tuesday, March 24, 2009 2:56 PM
To: [email protected]
Subject: [flexcoders] resizable list item

 


Hi devs,

I am trying to use itemrenderer in a list with
variable height. This is how it will work: if
the there is only one item in the list then
the height of the item will be 100% of list height, 
if there are 2 items then 50% height .... if 4 then 25%.

So the height of the list item should be 
(height of the list component)/(the length of the dataprovider).

How can I do that?

Regards... 



Reply via email to