From 4bf99bdfc65a65ae2e8bd14b6eda32c521c8fd88 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 19 Nov 2002 18:41:15 +0000 Subject: Add space for icons to item_width(), otherwise the horizontal scrollbar won't scroll far enough... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Type.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index b939ff85c..e6be7c8de 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.cxx,v 1.6.2.6.2.12 2002/11/01 01:37:57 easysw Exp $" +// "$Id: Fl_Type.cxx,v 1.6.2.6.2.13 2002/11/19 18:41:15 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -301,7 +301,7 @@ int Widget_Browser::item_width(void *v) const { if (!l->visible) return 0; - int W = 3 + 16 + l->level*10; + int W = 3 + 16 + 18 + l->level*10; if (l->is_parent()) W += 10; if (l->is_widget() || l->is_class()) { @@ -784,5 +784,5 @@ void Fl_Type::read_property(const char *c) { int Fl_Type::read_fdesign(const char*, const char*) {return 0;} // -// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.12 2002/11/01 01:37:57 easysw Exp $". +// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.13 2002/11/19 18:41:15 easysw Exp $". // -- cgit v1.2.3