Check rowCount and rowHeight. If you explicitly set rowCount, the rowHeight grows
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of burttram Sent: Tuesday, May 27, 2008 8:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree node height problem on initial load bump. Anybody have any ideas on how to go about even troubleshooting this? Thanks in advance for any help you guys can provide - I'm kind of stuck in a jam on this one - anybody ever seen a similar problem in their own work? -Brian --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "burttram" <[EMAIL PROTECTED]> wrote: > > I have a component I'm developing to, among other things, accept an > XMLListCollection as a dataProvider (the data is being supplied via a > remote object call, which is why I've elected to extend a component to > handle the reopening /drag&drop, etc). > > Best I can tell I've got working great, vice one issue that I just can't > seem to resolve. Essentially, the first time the component loads it > shows the nodes in the tree at an apparently random height that is > significantly "taller" than what my normal tree node height should be. > It would appear that the nodes are being spaced evenly across an > arbitrary height of the tree which is greater in height than the "100%" > I've specified for the tree to take up inside it's container. > > I've included a screenshot of the behavior here, the left-hand image is > the initial, jacked up state, and the right-hand image is the very same > component instance after the contents are loaded the second time: > > http://www.2b-studios.com/xmlTreeView_Problem.png <http://www.2b-studios.com/xmlTreeView_Problem.png> > <http://www.2b-studios.com/xmlTreeView_Problem.png <http://www.2b-studios.com/xmlTreeView_Problem.png> > > > Any help you guys might be able to provide would be so very much > appreciated, I've been beating my head against the wall on this for > hours now. > > Thanks in advance, > Brian >