Skip to content

Commit 6cdaa6d

Browse files
committed
Fix about dialog font and link
1 parent 2958e3a commit 6cdaa6d

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

ui/aboutdialog.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ AboutDialog::AboutDialog(QWidget *parent) :
2626
{
2727
ui->setupUi(this);
2828

29+
//Make the word 'Bandage' a larger font size.
30+
QFont font;
31+
font.setPointSize(font.pointSize() * 2);
32+
ui->titleLabel->setFont(font);
33+
2934
QString versionCopyrightText = "<html><head/><body><p>Version: " + QApplication::applicationVersion() + "</p><p>Copyright 2015 Ryan Wick</p><p><a href=\"http://rrwick.github.io/Bandage/\"><span style=\" text-decoration: underline; color:#0000ff;\">http://rrwick.github.io/Bandage/</span></a></p></body></html>";
3035
ui->versionCopyrightLabel->setText(versionCopyrightText);
3136

ui/aboutdialog.ui

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@
8383
<layout class="QVBoxLayout" name="verticalLayout">
8484
<item>
8585
<widget class="QLabel" name="titleLabel">
86-
<property name="font">
87-
<font>
88-
<pointsize>12</pointsize>
89-
<weight>75</weight>
90-
<bold>true</bold>
91-
</font>
92-
</property>
9386
<property name="text">
9487
<string>Bandage</string>
9588
</property>
@@ -149,12 +142,7 @@
149142
</size>
150143
</property>
151144
<property name="text">
152-
<string>Bandage is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
153-
154-
Bandage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
155-
156-
See the GNU General Public License for more details:
157-
http://www.gnu.org/licenses/gpl.txt</string>
145+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Bandage is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Bandage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;See the GNU General Public License for more details:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.gnu.org/licenses/gpl.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.gnu.org/licenses/gpl.txt&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
158146
</property>
159147
<property name="wordWrap">
160148
<bool>true</bool>

0 commit comments

Comments
 (0)