From f4f991e5f0fac6b4924f0807ae8ed779f96d1bd7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 May 2013 01:39:27 +0300 Subject: fix default window title bar height. --- src/gui/widgets/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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")); -- cgit v1.2.3-70-g09d2