diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 12:00:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 12:00:17 +0300 |
commit | 66d469fe20cff2749316afe3ba44ad74acfc1557 (patch) | |
tree | 15267204b4ab85be7b3e2ad64e7d7be6290be1bc /src/gui/widgets/popup.cpp | |
parent | a78b3a34de86d181f845f352b3c4a58e6ff03872 (diff) | |
download | manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.tar.gz manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.tar.bz2 manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.tar.xz manaplus-66d469fe20cff2749316afe3ba44ad74acfc1557.zip |
Fix popups sizes and padding.
Diffstat (limited to 'src/gui/widgets/popup.cpp')
-rw-r--r-- | src/gui/widgets/popup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/popup.cpp b/src/gui/widgets/popup.cpp index fe3b63bf2..9a16d8530 100644 --- a/src/gui/widgets/popup.cpp +++ b/src/gui/widgets/popup.cpp @@ -119,8 +119,8 @@ void Popup::draw(gcn::Graphics *graphics) gcn::Rectangle Popup::getChildrenArea() { - return gcn::Rectangle(getPadding(), 0, getWidth() - getPadding() * 2, - getHeight() - getPadding() * 2); + return gcn::Rectangle(getPadding(), getPadding(), + getWidth() - getPadding() * 2, getHeight() - getPadding() * 2); } void Popup::setContentSize(int width, int height) |