diff options
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/scrollcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widgets/scrollcontainer.cpp b/gui/widgets/scrollcontainer.cpp index 820c00f18a..9a7792730d 100644 --- a/gui/widgets/scrollcontainer.cpp +++ b/gui/widgets/scrollcontainer.cpp @@ -52,7 +52,7 @@ void ScrollContainerWidget::init() { void ScrollContainerWidget::recalc() { int scrollbarWidth = g_gui.xmlEval()->getVar("Globals.Scrollbar.Width", 0); _limitH = _h; - + //calculate virtual height const int spacing = g_gui.xmlEval()->getVar("Global.Font.Height", 16); //on the bottom int h = 0; @@ -120,7 +120,7 @@ void ScrollContainerWidget::reflowLayout() { //hide and move widgets, if needed sendCommand(_reflowCmd, 0); - + //recalculate height recalc(); |