diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-05 03:13:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-05 03:13:43 +0300 |
commit | e3b9d60938b1299f2f66e68ff291060654c58d66 (patch) | |
tree | 28425cf579903d6735faa801a6968b56abdc7230 /src/gui/editdialog.cpp | |
parent | 10c8e7da87de2219fad19fd899e97257164e4830 (diff) | |
download | plus-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.gz plus-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.bz2 plus-e3b9d60938b1299f2f66e68ff291060654c58d66.tar.xz plus-e3b9d60938b1299f2f66e68ff291060654c58d66.zip |
Move some hardcoded paddings to themes.
Diffstat (limited to 'src/gui/editdialog.cpp')
-rw-r--r-- | src/gui/editdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp index 37033af64..78ce2f8ba 100644 --- a/src/gui/editdialog.cpp +++ b/src/gui/editdialog.cpp @@ -53,7 +53,8 @@ EditDialog::EditDialog(const std::string &title, const std::string &msg, mTextField->setPosition(getPadding(), getPadding()); mTextField->setWidth(width - (2 * getPadding())); - okButton->setPosition((width - okButton->getWidth()) / 2, height + 8); + okButton->setPosition((width - okButton->getWidth()) / 2, + height + getOption("buttonPadding", 8)); add(mTextField); add(okButton); |