diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 12:23:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 12:44:19 +0300 |
commit | eed0bccd09e5708eb9b629c14f69022e362f4aa4 (patch) | |
tree | b2ad9fb58ece0e9e39924a514be5c81fb43701a3 /src | |
parent | 66d469fe20cff2749316afe3ba44ad74acfc1557 (diff) | |
download | manaplus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.gz manaplus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.bz2 manaplus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.xz manaplus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.zip |
Fix padding in some themes.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/beingpopup.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/beingpopup.cpp b/src/gui/beingpopup.cpp index 87db79aa6..3e3c7e29d 100644 --- a/src/gui/beingpopup.cpp +++ b/src/gui/beingpopup.cpp @@ -190,8 +190,7 @@ void BeingPopup::show(const int x, const int y, Being *const b) if (label4) height += getFont()->getHeight(); - const int pad = 2 * getPadding(); - setContentSize(minWidth + pad, height + pad); + setContentSize(minWidth, height); position(x, y); return; } |