diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-14 19:32:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-14 19:32:01 +0300 |
commit | 158dd2f34e7cbefa26bcfe9a3410640b1e7caa58 (patch) | |
tree | 3d9a61184db527bf853bbc9e93c4042f8676932a | |
parent | 7635fd3938bade7ff8323c36dfd9e7b001d10f1f (diff) | |
download | manaverse-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.tar.gz manaverse-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.tar.bz2 manaverse-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.tar.xz manaverse-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.zip |
Add additional pixel in shortcuts like windows for better moving.
-rw-r--r-- | src/gui/shortcutwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp index fed2deba8..888b97222 100644 --- a/src/gui/shortcutwindow.cpp +++ b/src/gui/shortcutwindow.cpp @@ -58,7 +58,7 @@ ShortcutWindow::ShortcutWindow(const std::string &title, { setWindowName(title); // no title presented, title bar is padding so window can be moved. - gcn::Window::setTitleBarHeight(gcn::Window::getPadding()); + gcn::Window::setTitleBarHeight(gcn::Window::getPadding() + 1); setShowTitle(false); setResizable(true); setDefaultVisible(false); @@ -104,7 +104,7 @@ ShortcutWindow::ShortcutWindow(const std::string &title, std::string skinFile, { setWindowName(title); // no title presented, title bar is padding so window can be moved. - gcn::Window::setTitleBarHeight(gcn::Window::getPadding()); + gcn::Window::setTitleBarHeight(gcn::Window::getPadding() + 1); setShowTitle(false); setResizable(true); setDefaultVisible(false); |