From 272475dde48e43c4b19799847c5ca3937eeceae3 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 6 Dec 2011 21:08:07 +0000 Subject: Fixing STR #2786; clipping problem with child FLTK widgets. Replication: Run 'tree' demo, open '500 items' subtree, change 'connector width' to 100.. the "D2" and "ccc" buttons would overdraw the scrollbar. (Not the regular tree items) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Tree.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index d6f7bc1b2..7a9111114 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -199,6 +199,8 @@ class FL_EXPORT Fl_Tree : public Fl_Group { Fl_Tree_Prefs _prefs; // all the tree's settings int _scrollbar_size; // size of scrollbar trough + void fix_scrollbar_order(); + protected: Fl_Scrollbar *_vscroll; ///< Vertical scrollbar void item_clicked(Fl_Tree_Item* val); -- cgit v1.2.3