diff options
-rw-r--r-- | src/gui/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/shortcutwindow.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index cc09d19e..2c99c6e0 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -107,7 +107,7 @@ ChatWindow::ChatWindow(): setResizable(true); setDefaultVisible(true); setSaveVisible(true); - setDefaultSize(600, 123, ImageRect::LOWER_LEFT); + setDefaultSize(400, 123, ImageRect::LOWER_LEFT, -6, 6); setMinWidth(150); setMinHeight(90); 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; |