diff options
-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")); |