summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-02 02:20:05 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-08-02 02:20:05 +0200
commit1a19ab21b2ae6d2fef980bbf33484dfb6591bbcb (patch)
treee17f5de1bef9ea2e4d9280be393ce6855a5954f2 /src/gui/shortcutwindow.cpp
parentce3b24e780d39e323454c6ef24982a1f9c7b605c (diff)
downloadmana-1a19ab21b2ae6d2fef980bbf33484dfb6591bbcb.tar.gz
mana-1a19ab21b2ae6d2fef980bbf33484dfb6591bbcb.tar.bz2
mana-1a19ab21b2ae6d2fef980bbf33484dfb6591bbcb.tar.xz
mana-1a19ab21b2ae6d2fef980bbf33484dfb6591bbcb.zip
Tweaked default positions of chat and shortcut window
Added some margin and made the shortcut window not movable/resizable.
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r--src/gui/shortcutwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index 774a9103..766659c9 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -40,8 +40,8 @@ ShortcutWindow::ShortcutWindow(const std::string &title,
// no title presented, title bar is padding so window can be moved.
gcn::Window::setTitleBarHeight(gcn::Window::getPadding());
setShowTitle(false);
- setResizable(true);
- setDefaultVisible(false);
+ setMovable(false);
+ setDefaultVisible(true);
setSaveVisible(true);
setupWindow->registerWindowForReset(this);
@@ -56,7 +56,7 @@ ShortcutWindow::ShortcutWindow(const std::string &title,
setDefaultSize(mItems->getBoxWidth() * 6 + border,
mItems->getBoxHeight() * 2 + border,
ImageRect::LOWER_RIGHT,
- 0, 0);
+ 6, 6);
mBoxesWidth += mItems->getBoxWidth() + border;