summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptabscroll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/setuptabscroll.cpp')
-rw-r--r--src/gui/widgets/setuptabscroll.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/setuptabscroll.cpp b/src/gui/widgets/setuptabscroll.cpp
index aac5cf0e8..64060aaad 100644
--- a/src/gui/widgets/setuptabscroll.cpp
+++ b/src/gui/widgets/setuptabscroll.cpp
@@ -118,3 +118,9 @@ void SetupTabScroll::externalUpdated()
widget->externalUpdated((*iter).first);
}
}
+
+void SetupTabScroll::widgetResized(const gcn::Event &event)
+{
+ mScroll->setWidth(getWidth() - 12);
+ mScroll->setHeight(getHeight() - 12 - 12);
+}