From 6ac937583f9589e7049f2eb51eca62f2249ba7d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Sep 2011 03:13:32 +0300 Subject: Fix status popup height. --- src/gui/statuspopup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp index 5c28641dc..13b5d575e 100644 --- a/src/gui/statuspopup.cpp +++ b/src/gui/statuspopup.cpp @@ -159,7 +159,8 @@ void StatusPopup::update() const int fontHeight = getFont()->getHeight(); - setHeight(24 + 8 + 14 * fontHeight + getPadding()); + setHeight(mDisableGameModifiers->getY() + + mDisableGameModifiers->getHeight() + 2 * getPadding()); } void StatusPopup::view(int x, int y) -- cgit v1.2.3-60-g2f50