summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index ad8014ee8..1b9b955f0 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -134,6 +134,7 @@ Window::Window(const std::string &caption, const bool modal,
if (!mTitleBarHeight)
mTitleBarHeight = mCaptionFont->getHeight();
+ mTitleBarHeight += getOption("titlebarHeightRelative");
setPalette(getOption("palette"));
childPalette = getOption("childPalette");
}