You’re saying that the initial render of the list puts big gaps in but once you scroll everything tightens up?  Your list has variableRowHeight set I assume?  Maybe you can try calling invalidate on the list to get it to rejigger itself?

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding
Sent: Thursday, June 09, 2005 2:09 AM
To: [email protected]
Subject: [flexcoders] Custom cellrender in a list

 

Hi,

In my current project Im trying to list a set of search results. My
first thought was to use the Accordion control, but I need to put
extra information in the headers and need the ability to 'expand all'
search results. So the Accordion was pushed aside. (Would be nice to
customise the Accordion Header and implement 'open/expand all panels'
tho).

I have written a custom renderer that has a box at the top for the
header. Im hoping i can implement a resize when this box is clicked.

To get to the point tho ;) When i list the search results using the
list control they have HUGE gaps between them. But when I click and
drag the vertical scroll bar, each cell in the list moves to be one
after the other, like it should be.

Can any explain this behaviour? (I hope I make sense)

Andrew.

p.s. If someone could demonstrate how to customise the Accordion
Header, or even implement an expand all accordion panes, that would be
great too :p always worth asking hehe





Yahoo! Groups Links

Reply via email to