diff options
Diffstat (limited to 'gui/ThemeEval.cpp')
-rw-r--r-- | gui/ThemeEval.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp index f93706cb47..2d8290ffa8 100644 --- a/gui/ThemeEval.cpp +++ b/gui/ThemeEval.cpp @@ -139,6 +139,8 @@ void ThemeLayoutVertical::reflowLayout() { _h += _children[i]->getHeight() + _spacing; } } + + _h -= _spacing; } void ThemeLayoutHorizontal::reflowLayout() { @@ -198,6 +200,8 @@ void ThemeLayoutHorizontal::reflowLayout() { _h = MAX(_h, (int16)(_children[i]->getHeight() + _paddingTop + _paddingBottom)); } + + _w -= _spacing; } ThemeEval::~ThemeEval() { |