summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-02 01:47:06 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-02 01:47:06 +0200
commit422c71c761745bdda86962933d0d39175129e46c (patch)
tree80b6d1e013d65d4a1912e0a3b7ce22d1ab216728
parente76359c2c75c239ee063704d7c63a89ff0ae9a14 (diff)
downloadmana-client-422c71c761745bdda86962933d0d39175129e46c.tar.gz
mana-client-422c71c761745bdda86962933d0d39175129e46c.tar.bz2
mana-client-422c71c761745bdda86962933d0d39175129e46c.tar.xz
mana-client-422c71c761745bdda86962933d0d39175129e46c.zip
Changed default position and size of shortcut window
-rw-r--r--src/gui/shortcutwindow.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index 26f1e928..774a9103 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -53,9 +53,10 @@ ShortcutWindow::ShortcutWindow(const std::string &title,
setMaxWidth(mItems->getBoxWidth() * mItems->getMaxItems() + border);
setMaxHeight(mItems->getBoxHeight() * mItems->getMaxItems() + border);
- setDefaultSize(mItems->getBoxWidth() + border, mItems->getBoxHeight() *
- mItems->getMaxItems() + border, ImageRect::LOWER_RIGHT,
- mBoxesWidth, 0);
+ setDefaultSize(mItems->getBoxWidth() * 6 + border,
+ mItems->getBoxHeight() * 2 + border,
+ ImageRect::LOWER_RIGHT,
+ 0, 0);
mBoxesWidth += mItems->getBoxWidth() + border;