Skip to content

Commit db40929

Browse files
committed
Minor fixes to about dialog
1 parent 4113443 commit db40929

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/aboutdialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), mainwindow_(parent)
7979

8080
html += "<p>";
8181

82-
html += tr("If you like this program and can make use it, consider sponsoring or donating.");
82+
html += tr("If you like this program and can make use of it, consider sponsoring or donating.");
8383
html += "<br />";
8484
html += tr("To sponsor me visit %1.").arg("<a href=\"https://github.com/sponsors/jonaski\">my GitHub sponsors profile</a>");
8585
html += "<br />";
@@ -133,6 +133,7 @@ void AboutDialog::showEvent(QShowEvent*) {
133133

134134
setMinimumHeight(0);
135135
setMaximumHeight(9000);
136+
136137
adjustSize();
137138

138139
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))

src/aboutdialog.ui

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>515</width>
10-
<height>600</height>
10+
<height>378</height>
1111
</rect>
1212
</property>
1313
<property name="minimumSize">
@@ -300,6 +300,9 @@
300300
<property name="orientation">
301301
<enum>Qt::Vertical</enum>
302302
</property>
303+
<property name="sizeType">
304+
<enum>QSizePolicy::MinimumExpanding</enum>
305+
</property>
303306
<property name="sizeHint" stdset="0">
304307
<size>
305308
<width>0</width>

0 commit comments

Comments
 (0)