diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 05:15:20 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 05:16:03 -0600 |
commit | 9e7dfd7397ed2c282015f4cc13c42598b6bb1f39 (patch) | |
tree | a3a947453d47b1588ca4c6cec730054066f4748b /src/gui/confirm_dialog.cpp | |
parent | 881f3c693e2ac4d17f2e7109a809d1bd4c2f62c6 (diff) | |
download | mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.gz mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.bz2 mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.tar.xz mana-9e7dfd7397ed2c282015f4cc13c42598b6bb1f39.zip |
Remove some tabs and trailing whitespace
Diffstat (limited to 'src/gui/confirm_dialog.cpp')
-rw-r--r-- | src/gui/confirm_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/confirm_dialog.cpp b/src/gui/confirm_dialog.cpp index fbbc6101..0d41525a 100644 --- a/src/gui/confirm_dialog.cpp +++ b/src/gui/confirm_dialog.cpp @@ -56,7 +56,7 @@ ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg, { // fontHeight == height of each line of text (based on font heights) // 14 == row top + bottom graphic pixel heights - setContentSize(mTextBox->getMinWidth() + fontHeight, ((numRows + 1) * + setContentSize(mTextBox->getMinWidth() + fontHeight, ((numRows + 1) * fontHeight) + noButton->getHeight()); mTextArea->setDimension(gcn::Rectangle(4, 5, mTextBox->getMinWidth() + 5, 3 + (numRows * fontHeight))); @@ -67,7 +67,7 @@ ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg, width = getFont()->getWidth(msg); if (width < inWidth) width = inWidth; - setContentSize(width + fontHeight, (2 * fontHeight) + + setContentSize(width + fontHeight, (2 * fontHeight) + noButton->getHeight()); mTextArea->setDimension(gcn::Rectangle(4, 5, width + 5, 17)); } |