aboutsummaryrefslogtreecommitdiff
path: root/dpi/downloads.cc
diff options
context:
space:
mode:
authorJeremy Henty <onepoint@starurchin.org>2012-12-11 02:00:03 +0000
committerJeremy Henty <onepoint@starurchin.org>2012-12-11 02:00:03 +0000
commite1a12198907bf82809bf3fe4a128a24e8db3aedb (patch)
treee90218626f87c40789d2cb292db69337718fe0ba /dpi/downloads.cc
parent1471c240d49b60ef081f50230f2eee8852793716 (diff)
Download DPI Scroll should resize itself before resizing its child.
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r--dpi/downloads.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc
index c794ef2f..8f1c29f8 100644
--- a/dpi/downloads.cc
+++ b/dpi/downloads.cc
@@ -1098,13 +1098,13 @@ class DlScroll : public Fl_Scroll
public:
void resize(int x_, int y_, int w_, int h_)
{
+ Fl_Scroll::resize(x_, y_, w_, h_);
Fl_Widget *resizable_ = resizable();
if (resizable_)
resizable_->resize(resizable_->x(),
resizable_->y(),
w() - scrollbar_size(),
resizable_->h());
- Fl_Scroll::resize(x_, y_, w_, h_);
}
DlScroll(int x, int y, int w, int h, const char *l = 0)
: Fl_Scroll(x, y, w, h, l)