From 2fe153118c9aa9bcbefa687e96d5ccd7e875a853 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 2 Mar 2021 17:23:41 +0100 Subject: [PATCH] Gui: [skip ci] for the author label use the same font configuration as with the rich text as otherwise the text appears very tiny --- src/Gui/Splashscreen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index 596c9c7a85..ea7b156ad9 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -488,6 +488,10 @@ void AboutDialog::setupLabels() ui->labelAuthor->setText(author); ui->labelAuthor->setUrl(mturl); + if (qApp->styleSheet().isEmpty()) { + ui->labelAuthor->setStyleSheet(QString::fromLatin1("Gui--UrlLabel {color: #0000FF;text-decoration: underline;font-weight: 600;font-family: MS Shell Dlg 2;}")); + } + QString version = ui->labelBuildVersion->text(); version.replace(QString::fromLatin1("Unknown"), QString::fromLatin1("%1.%2").arg(major, minor)); ui->labelBuildVersion->setText(version);