From 661ae1c08d0cab92011e1913e587901c51aee5fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Apr 2016 23:37:06 +0300 Subject: Fix confirm dialog width if caption too big. --- src/gui/widgets/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/window.h') diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 75f4b81fb..06a0d3295 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -643,6 +643,8 @@ class Window notfinal : public BasicContainer2, int mDefaultY; /**< Default window Y position */ int mDefaultWidth; /**< Default window width */ int mDefaultHeight; /**< Default window height */ + int mCaptionOffsetX; + int mCaptionOffsetY; bool mShowTitle; /**< Window has a title bar */ bool mLastRedraw; @@ -698,8 +700,6 @@ class Window notfinal : public BasicContainer2, */ static const unsigned resizeBorderWidth = 10; ImageCollection *mVertexes A_NONNULLPOINTER; - int mCaptionOffsetX; - int mCaptionOffsetY; Graphics::Alignment mCaptionAlign; int mTitlePadding; int mGripPadding; -- cgit v1.2.3-70-g09d2