TreeView.onAfterExpand and onAfterCollapse
I have added a new method, onAfterExpand(node), to TreeView. This
method gets called at the end of the TreeView.expand() method block. I
override this method to handle size changed events in the component
containing the TreeView. I also have a corresponding onAfterCollapse
You might consider adding these to the YUI codebase.