diff --git a/aboutdialog/aboutdialog.cpp b/aboutdialog/aboutdialog.cpp index 2858736..589f8c6 100644 --- a/aboutdialog/aboutdialog.cpp +++ b/aboutdialog/aboutdialog.cpp @@ -35,7 +35,7 @@ AboutDialog::AboutDialog(QWidget *parent, const QString &applicationName, const { m_ui->setupUi(this); #ifdef Q_OS_WIN32 - setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #mainWidget { color: black; background-color: white; border: none; } #productNameLabel { font-size: 12pt; color: #003399; }")); + setStyleSheet(QStringLiteral("#mainWidget { color: black; background-color: white; border: none; } #productNameLabel { font-size: 12pt; color: #003399; }")); #else setStyleSheet(QStringLiteral("#productNameLabel { font-weight: bold; }")); #endif diff --git a/enterpassworddialog/enterpassworddialog.cpp b/enterpassworddialog/enterpassworddialog.cpp index a9651d6..d40eeeb 100644 --- a/enterpassworddialog/enterpassworddialog.cpp +++ b/enterpassworddialog/enterpassworddialog.cpp @@ -38,7 +38,7 @@ EnterPasswordDialog::EnterPasswordDialog(QWidget *parent) : // setup ui m_ui->setupUi(this); #ifdef Q_OS_WIN32 - setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QMessageBox QLabel, QInputDialog QLabel, #instructionLabel {font-size: 12pt; color: #003399; }")); + setStyleSheet(QStringLiteral("#mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QMessageBox QLabel, QInputDialog QLabel, #instructionLabel {font-size: 12pt; color: #003399; }")); #else setStyleSheet(QStringLiteral("#instructionLabel { font-weight: bold; }")); #endif diff --git a/settingsdialog/settingsdialog.cpp b/settingsdialog/settingsdialog.cpp index a8da932..b964626 100644 --- a/settingsdialog/settingsdialog.cpp +++ b/settingsdialog/settingsdialog.cpp @@ -32,7 +32,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : { m_ui->setupUi(this); #ifdef Q_OS_WIN32 - setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QMessageBox QLabel, QInputDialog QLabel, #instructionLabel {font-size: 12pt; color: #003399; }")); + setStyleSheet(QStringLiteral("#mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QMessageBox QLabel, QInputDialog QLabel, #instructionLabel {font-size: 12pt; color: #003399; }")); #else setStyleSheet(QStringLiteral("#instructionLabel { font-weight: bold; font-size: 12pt; }")); #endif