summaryrefslogtreecommitdiff
path: root/src/gui/statuspopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-16 03:13:32 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-16 03:13:32 +0300
commit6ac937583f9589e7049f2eb51eca62f2249ba7d6 (patch)
treed6166b0563f349341323db356e1d406c99d11207 /src/gui/statuspopup.cpp
parent124a109b6c9c8ef319bb43fd088d844d26591d26 (diff)
downloadmanaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.tar.gz
manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.tar.bz2
manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.tar.xz
manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.zip
Fix status popup height.
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r--src/gui/statuspopup.cpp3
1 files changed, 2 insertions, 1 deletions
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)