summaryrefslogtreecommitdiff
path: root/src
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
parent66d469fe20cff2749316afe3ba44ad74acfc1557 (diff)
downloadplus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.gz
plus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.bz2
plus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.tar.xz
plus-eed0bccd09e5708eb9b629c14f69022e362f4aa4.zip
Fix padding in some themes.
Diffstat (limited to 'src')
-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;
}