summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-11 00:46:34 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-11 00:46:34 +0300
commit632c1797013d8b0a987ab68341b50354afdb1f9d (patch)
treefda998f25feac4696058c8c1a14e430dceac66d6 /src/gui/widgets
parentee39f800bd1809b25cc7c05238e2fa7abccd8ab3 (diff)
downloadplus-632c1797013d8b0a987ab68341b50354afdb1f9d.tar.gz
plus-632c1797013d8b0a987ab68341b50354afdb1f9d.tar.bz2
plus-632c1797013d8b0a987ab68341b50354afdb1f9d.tar.xz
plus-632c1797013d8b0a987ab68341b50354afdb1f9d.zip
Add support for padding in theme configuration files.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 1ffbac31e..2d4c443c6 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -86,6 +86,8 @@ Window::Window(const std::string &caption, bool modal, Window *parent,
if (Theme::instance())
{
mSkin = Theme::instance()->load(skin);
+ if (mSkin)
+ setPadding(mSkin->getPadding());
}
else
{