diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
commit | f55baadfeb6245899497cd472f65f23e905481b9 (patch) | |
tree | d5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/textdialog.cpp | |
parent | 52039744fa2e5e116548e5236cd8ba5f5d81702a (diff) | |
download | manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2 manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz manaverse-f55baadfeb6245899497cd472f65f23e905481b9.zip |
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/textdialog.cpp')
-rw-r--r-- | src/gui/windows/textdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/textdialog.cpp b/src/gui/windows/textdialog.cpp index 87c9dcfa8..ee6e58a00 100644 --- a/src/gui/windows/textdialog.cpp +++ b/src/gui/windows/textdialog.cpp @@ -59,19 +59,19 @@ TextDialog::TextDialog(const std::string &restrict title, // TRANSLATORS: text dialog button Button *const cancelButton = new Button(this, _("Cancel"), "CANCEL", this); - place(0, 0, textLabel, 4); + place(0, 0, textLabel, 4, 1); if (isPassword) { mPasswordField = new PasswordField(this); - place(0, 1, mPasswordField, 4); + place(0, 1, mPasswordField, 4, 1); } else { mTextField = new TextField(this); - place(0, 1, mTextField, 4); + place(0, 1, mTextField, 4, 1); } - place(2, 2, mOkButton); - place(3, 2, cancelButton); + place(2, 2, mOkButton, 1, 1); + place(3, 2, cancelButton, 1, 1); int width = getFont()->getWidth(title); if (width < textLabel->getWidth()) |