diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-02 01:47:06 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-08-02 01:47:06 +0200 |
commit | 422c71c761745bdda86962933d0d39175129e46c (patch) | |
tree | 80b6d1e013d65d4a1912e0a3b7ce22d1ab216728 /src | |
parent | e76359c2c75c239ee063704d7c63a89ff0ae9a14 (diff) | |
download | mana-422c71c761745bdda86962933d0d39175129e46c.tar.gz mana-422c71c761745bdda86962933d0d39175129e46c.tar.bz2 mana-422c71c761745bdda86962933d0d39175129e46c.tar.xz mana-422c71c761745bdda86962933d0d39175129e46c.zip |
Changed default position and size of shortcut window
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/shortcutwindow.cpp | 7 |
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; |