summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-12-19 15:59:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-12-19 15:59:51 +0000
commit9f601ccb7356adc26bf375de9744e39cdf531b25 (patch)
treebb5aba3ddad26c6edfda2cd6e3600a03c60c8c57
parentdef18b8e0c9e09fa05c292fd14c41a87f96e1e78 (diff)
Reset horizontal position in value() method, too.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES2
-rw-r--r--src/Fl_Help_View.cxx5
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 33f4d6f8a..20ac8240d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.0b8
+ - Fl_Help_View didn't reset the horizontal scroll
+ position when showing a new page.
- Fl_Pack now allows any child widget to be the
resizable() widget, not just the last one.
- MacOS: opaque window resizing, all events except
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 2ac077ba2..ad8b1b3ba 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Help_View.cxx,v 1.1.2.21 2001/12/19 15:57:32 easysw Exp $"
+// "$Id: Fl_Help_View.cxx,v 1.1.2.22 2001/12/19 15:59:51 easysw Exp $"
//
// Fl_Help_View widget routines.
//
@@ -2402,6 +2402,7 @@ Fl_Help_View::value(const char *v) // I - Text to view
set_changed();
topline(0);
+ leftline(0);
}
@@ -2566,5 +2567,5 @@ hscrollbar_callback(Fl_Widget *s, void *)
//
-// End of "$Id: Fl_Help_View.cxx,v 1.1.2.21 2001/12/19 15:57:32 easysw Exp $".
+// End of "$Id: Fl_Help_View.cxx,v 1.1.2.22 2001/12/19 15:59:51 easysw Exp $".
//