diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/confirmdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/confirmdialog.cpp b/src/gui/windows/confirmdialog.cpp index e08177ef4..4a0936c0c 100644 --- a/src/gui/windows/confirmdialog.cpp +++ b/src/gui/windows/confirmdialog.cpp @@ -70,7 +70,7 @@ void ConfirmDialog::postInit() const int fontHeight = getFont()->getHeight(); const int height = numRows * fontHeight; - int width = getFont()->getWidth(getCaption()); + int width = getFont()->getWidth(getCaption()) + mCaptionOffsetX; if (width < mTextBox->getMinWidth()) width = mTextBox->getMinWidth(); |