DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current I don't think the demo 'tree' has "collapse all" / "open all" buttons, but it probably should. I'm about to make a large commit to Fl_Tree, so I'll add buttons for 'open all' and 'collapse all' so this can be exercised. I'll also see if I can "fix" this while I'm at it, as I've added a 'marginbottom()' method that lets one control how far beyond the bottom of the tree a person can scroll. I'll see if I can use that as a 'minimum position'. To replicate what I think the OP was getting at: 1) Run test/tree 2) Open the "500 items" node 3) Select the '%00 items' node 4) Scroll to the bottom 5) Hit 'Remove Selected' (removes '500 items' node and its children) You now find yourself scrolled to a position far beyond the bottom of the tree, and have to scroll all the way through 'nothingness' to find the bottom of the tree. Arguably the tree should prevent one from being able to be scrolled 'beyond the bottom' of the tree. I've seen this issue with other FLTK widgets as well; Fl_Browser has always had it I think, and I think others (Fl_Scroll?) Link: http://www.fltk.org/str.php?L2796 Version: 1.3-current _______________________________________________ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs