diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-08 01:39:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-09 00:27:32 +0300 |
commit | f4f991e5f0fac6b4924f0807ae8ed779f96d1bd7 (patch) | |
tree | 84a17e56b95185fd765cf46828048007c7658f8a /src | |
parent | 161ee42814d3e1828f3f952e172c18fb995924e8 (diff) | |
download | manaverse-f4f991e5f0fac6b4924f0807ae8ed779f96d1bd7.tar.gz manaverse-f4f991e5f0fac6b4924f0807ae8ed779f96d1bd7.tar.bz2 manaverse-f4f991e5f0fac6b4924f0807ae8ed779f96d1bd7.tar.xz manaverse-f4f991e5f0fac6b4924f0807ae8ed779f96d1bd7.zip |
fix default window title bar height.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index d266d3ce8..de49ac876 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -132,7 +132,7 @@ Window::Window(const std::string &caption, const bool modal, } setTitleBarHeight(getOption("titlebarHeight")); if (!mTitleBarHeight) - mTitleBarHeight = mCaptionFont->getHeight(); + mTitleBarHeight = mCaptionFont->getHeight() + mPadding; mTitleBarHeight += getOption("titlebarHeightRelative"); setPalette(getOption("palette")); |