diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-09-14 17:10:00 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-09-26 17:43:49 +0200 |
| commit | a158b87f9b8de428091c6ba02bbc64119595bfe6 (patch) | |
| tree | dcff1db6f35a8e82c841bfe4a76950ce330b424f /Source | |
| parent | 8f2558dc89c323f090ccd48db9408b8ae76bd4bf (diff) | |
Qt/About: Fix the HTML
* remove useless units after 'zero' values
* reduce the size of 'Dolphin' to be more reasonable and look better
* avoid hardcoding the normal and small font sizes
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt2/AboutDialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt2/AboutDialog.cpp b/Source/Core/DolphinQt2/AboutDialog.cpp index 7f6f4f380a..be06ce76bc 100644 --- a/Source/Core/DolphinQt2/AboutDialog.cpp +++ b/Source/Core/DolphinQt2/AboutDialog.cpp @@ -16,12 +16,12 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent) setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); QString text = QStringLiteral(""); - QString small = QStringLiteral("<p style='margin-top:0px; margin-bottom:0px; font-size:9pt;'>"); - QString medium = QStringLiteral("<p style='margin-top:15px; font-size:11pt;'>"); + QString small = QStringLiteral("<p style='margin-top:0; margin-bottom:0; font-size:small;'>"); + QString medium = QStringLiteral("<p style='margin-top:15px;'>"); - text.append(QStringLiteral("<p style='font-size:50pt; font-weight:400; margin-bottom:0px;'>") + + text.append(QStringLiteral("<p style='font-size:38pt; font-weight:400; margin-bottom:0;'>") + tr("Dolphin") + QStringLiteral("</p>")); - text.append(QStringLiteral("<p style='font-size:18pt; margin-top:0px;'>%1</p>") + text.append(QStringLiteral("<p style='font-size:18pt; margin-top:0;'>%1</p>") .arg(QString::fromUtf8(Common::scm_desc_str.c_str()))); text.append(small + tr("Branch: ") + QString::fromUtf8(Common::scm_branch_str.c_str()) + |
