summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r--src/gui/okdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp
index 3259cb6d6..30a6281eb 100644
--- a/src/gui/okdialog.cpp
+++ b/src/gui/okdialog.cpp
@@ -63,7 +63,8 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg,
// 8 is the padding that GUIChan adds to button widgets
// (top and bottom combined)
- okButton->setPosition((width - okButton->getWidth()) / 2, height + 8);
+ okButton->setPosition((width - okButton->getWidth()) / 2,
+ height + getOption("buttonPadding", 8));
add(mTextBox);
add(okButton);