diff --git a/src/aboutdialog.cpp b/src/aboutdialog.cpp index 92c5df1..9658231 100644 --- a/src/aboutdialog.cpp +++ b/src/aboutdialog.cpp @@ -79,7 +79,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), mainwindow_(parent) html += "

"; - html += tr("If you like this program and can make use it, consider sponsoring or donating."); + html += tr("If you like this program and can make use of it, consider sponsoring or donating."); html += "
"; html += tr("To sponsor me visit %1.").arg("my GitHub sponsors profile"); html += "
"; @@ -133,6 +133,7 @@ void AboutDialog::showEvent(QShowEvent*) { setMinimumHeight(0); setMaximumHeight(9000); + adjustSize(); #if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) diff --git a/src/aboutdialog.ui b/src/aboutdialog.ui index 5bc2c8f..bd07769 100644 --- a/src/aboutdialog.ui +++ b/src/aboutdialog.ui @@ -7,7 +7,7 @@ 0 0 515 - 600 + 378 @@ -300,6 +300,9 @@ Qt::Vertical + + QSizePolicy::MinimumExpanding + 0