diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-16 03:13:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-16 03:13:32 +0300 |
commit | 6ac937583f9589e7049f2eb51eca62f2249ba7d6 (patch) | |
tree | d6166b0563f349341323db356e1d406c99d11207 /src/gui | |
parent | 124a109b6c9c8ef319bb43fd088d844d26591d26 (diff) | |
download | manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.tar.gz manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.tar.bz2 manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.tar.xz manaplus-6ac937583f9589e7049f2eb51eca62f2249ba7d6.zip |
Fix status popup height.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/statuspopup.cpp | 3 |
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) |