From eed0bccd09e5708eb9b629c14f69022e362f4aa4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Oct 2012 12:23:21 +0300 Subject: Fix padding in some themes. --- src/gui/beingpopup.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui') 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; } -- cgit v1.2.3-70-g09d2