Skip to content

Commit

Permalink
Minor fixes to about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Mar 11, 2020
1 parent 4113443 commit db40929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), mainwindow_(parent)

html += "<p>";

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 += "<br />";
html += tr("To sponsor me visit %1.").arg("<a href=\"https://github.com/sponsors/jonaski\">my GitHub sponsors profile</a>");
html += "<br />";
Expand Down Expand Up @@ -133,6 +133,7 @@ void AboutDialog::showEvent(QShowEvent*) {

setMinimumHeight(0);
setMaximumHeight(9000);

adjustSize();

#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
Expand Down
5 changes: 4 additions & 1 deletion src/aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>515</width>
<height>600</height>
<height>378</height>
</rect>
</property>
<property name="minimumSize">
Expand Down Expand Up @@ -300,6 +300,9 @@
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
Expand Down

0 comments on commit db40929

Please sign in to comment.