diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-11-19 18:41:15 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-11-19 18:41:15 +0000 |
| commit | 4bf99bdfc65a65ae2e8bd14b6eda32c521c8fd88 (patch) | |
| tree | 5545e64dd119a53194e99a1d601ca6a295c321b3 | |
| parent | 7a636272e2ed78c3a1ab2a151fb81a1e0e6a1579 (diff) | |
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
| -rw-r--r-- | fluid/Fl_Type.cxx | 6 |
1 files 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 $". // |
