From e3b9d60938b1299f2f66e68ff291060654c58d66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 5 Aug 2012 03:13:43 +0300 Subject: Move some hardcoded paddings to themes. --- src/gui/okdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/okdialog.cpp') 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); -- cgit v1.2.3-70-g09d2