summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-01 12:18:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-01 12:18:40 +0300
commit9c47e5cfc0e91071e0b5ad12b08f7d0c017d7856 (patch)
treed4d4912b29813f51689db6cfdd75433fd6beb706 /src/gui/windowmenu.cpp
parent05e6289b28c26df11b38a71e737017d64d22b029 (diff)
downloadmanaplus-9c47e5cfc0e91071e0b5ad12b08f7d0c017d7856.tar.gz
manaplus-9c47e5cfc0e91071e0b5ad12b08f7d0c017d7856.tar.bz2
manaplus-9c47e5cfc0e91071e0b5ad12b08f7d0c017d7856.tar.xz
manaplus-9c47e5cfc0e91071e0b5ad12b08f7d0c017d7856.zip
Remove free space from top and right in buttons menu.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 728718acc..c7bccb9bc 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -169,10 +169,7 @@ WindowMenu::WindowMenu(const Widget2 *const widget) :
_("Setup"), x, h, Input::KEY_WINDOW_SETUP, setupWindow);
if (mainGraphics)
- {
- setDimension(gcn::Rectangle(mainGraphics->mWidth - x - 3,
- 3, x - 3, h));
- }
+ setDimension(gcn::Rectangle(mainGraphics->mWidth - x, 0, x, h));
loadButtons();
@@ -360,10 +357,7 @@ void WindowMenu::updateButtons()
}
}
if (mainGraphics)
- {
- setDimension(gcn::Rectangle(mainGraphics->mWidth - x - 3,
- 3, x - 3, h));
- }
+ setDimension(gcn::Rectangle(mainGraphics->mWidth - x, 0, x, h));
}
void WindowMenu::loadButtons()