summaryrefslogtreecommitdiff
path: root/src/gui/beingpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-04 12:23:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-04 12:44:19 +0300
commiteed0bccd09e5708eb9b629c14f69022e362f4aa4 (patch)
treeb2ad9fb58ece0e9e39924a514be5c81fb43701a3 /src/gui/beingpopup.cpp
parent66d469fe20cff2749316afe3ba44ad74acfc1557 (diff)
downloadmanaverse-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.gz
manaverse-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.bz2
manaverse-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.xz
manaverse-eed0bccd09e5708eb9b629c14f69022e362f4aa4.zip
Fix padding in some themes.
Diffstat (limited to 'src/gui/beingpopup.cpp')
-rw-r--r--src/gui/beingpopup.cpp3
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;
}