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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 9de9b431f..1c63bba31 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -123,6 +123,8 @@ Window::Window(const std::string &caption,
mDefaultY(0),
mDefaultWidth(0),
mDefaultHeight(0),
+ mCaptionOffsetX(7),
+ mCaptionOffsetY(5),
mShowTitle(true),
mLastRedraw(true),
mGrip(nullptr),
@@ -138,8 +140,6 @@ Window::Window(const std::string &caption,
mMaxWinWidth(mainGraphics->mWidth),
mMaxWinHeight(mainGraphics->mHeight),
mVertexes(new ImageCollection),
- mCaptionOffsetX(7),
- mCaptionOffsetY(5),
mCaptionAlign(Graphics::LEFT),
mTitlePadding(4),
mGripPadding(2),