summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}