If the Tree showed the new nodes, then notification is probably working.
But showing new nodes may not force the tree to compute a new
measuredHeight. The container will check the measuredHeight and determine a
desired height and show scrollbars if it doesn't fit. If the container also
has %height, it will not show scrollbars unless minHeight is set to a
If that is the case, shouldn't calling "invalidateSize()" force measure to be called? I've tried doing this and I'm sure measure gets called, however, something I found quite interesting is that the height and width calculated never changed. No matter how I expanded the tree. I previously had the height set to 100% but I've since removed it. Do I still need to fool around with max/minHeight?
Set minHeight=0 on the thing you want to show scrollbars. The Tree may not
measure all of its rows, just rowCount rows. You might need to subclass and
Ok, since the Tree is housed in a Canvas, when the measured height exceeds the height of that Canvas, the Canvas will draw scrollbars? Hence, in overriding measure all I would need to do is to measure the height of each open row?
Yeah. There is a measureHeightOfItems method.
Why don't you want to use the Tree's scrollbars?