From 8eaa982c41a083337aa512f1d303b178d25f6a2a Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 14 Aug 2008 18:43:27 +0000 Subject: Added Classic Theme - WIP (yes, it's working). Added Builtin theme back. Added Python script to automatically build themes. svn-id: r33868 --- gui/ThemeEval.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui/ThemeEval.cpp') 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() { -- cgit v1.2.3