From db40929a91371ebec44e000357d57c9cac4d4f05 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 11 Mar 2020 21:56:02 +0100 Subject: [PATCH] Minor fixes to about dialog --- src/aboutdialog.cpp | 3 ++- src/aboutdialog.ui | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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