summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-06 23:12:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-06 23:12:03 +0300
commit3aead4aa07f2b28c5a4d567d6ab53783a9de5556 (patch)
tree14d8771a03104fe629f0d81d8bd2a199af04f17c /src/gui/shortcutwindow.cpp
parent4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f (diff)
downloadplus-3aead4aa07f2b28c5a4d567d6ab53783a9de5556.tar.gz
plus-3aead4aa07f2b28c5a4d567d6ab53783a9de5556.tar.bz2
plus-3aead4aa07f2b28c5a4d567d6ab53783a9de5556.tar.xz
plus-3aead4aa07f2b28c5a4d567d6ab53783a9de5556.zip
Add theme option for title bar height.
Option name: titlebarHeight Default value: 20 px
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r--src/gui/shortcutwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index 1c9525eeb..3a142cbc2 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -105,8 +105,7 @@ ShortcutWindow::ShortcutWindow(const std::string &title, std::string skinFile,
Window("Window", false, nullptr, skinFile)
{
setWindowName(title);
- // no title presented, title bar is padding so window can be moved.
- gcn::Window::setTitleBarHeight(gcn::Window::getPadding() + 1);
+ setTitleBarHeight(getPadding() + getTitlePadding());
setShowTitle(false);
setResizable(true);
setDefaultVisible(false);