summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-12-18 17:18:03 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-12-18 17:18:03 +0000
commitfe6b3acf0f06af1c6d8dd58d1298333e422da467 (patch)
treebfd51059fb7016a85296ca4aa81d30ede1c3f1d3 /src
parentb6b4e1ec20e88533ce48fc081544477627648181 (diff)
Resize horizontal scrollbar.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Help_View.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 0b49e0d19..88395ef85 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.19 2001/12/17 14:27:03 easysw Exp $"
+// "$Id: Fl_Help_View.cxx,v 1.1.2.20 2001/12/18 17:18:03 easysw Exp $"
//
// Fl_Help_View widget routines.
//
@@ -2299,7 +2299,9 @@ Fl_Help_View::resize(int xx, // I - New left position
int hh) // I - New height
{
Fl_Widget::resize(xx, yy, ww, hh);
- scrollbar_.resize(xx + ww - 17, yy, 17, hh);
+
+ scrollbar_.resize(x() + w() - 17, y(), 17, h() - 17);
+ hscrollbar_.resize(x(), y() + h() - 17, w() - 17, 17);
format();
}
@@ -2312,7 +2314,7 @@ Fl_Help_View::resize(int xx, // I - New left position
void
Fl_Help_View::topline(const char *n) // I - Target name
{
- Fl_Help_Target key, // Target name key
+ Fl_Help_Target key, // Target name key
*target; // Pointer to matching target
@@ -2562,5 +2564,5 @@ hscrollbar_callback(Fl_Widget *s, void *)
//
-// End of "$Id: Fl_Help_View.cxx,v 1.1.2.19 2001/12/17 14:27:03 easysw Exp $".
+// End of "$Id: Fl_Help_View.cxx,v 1.1.2.20 2001/12/18 17:18:03 easysw Exp $".
//