diff --git a/gui/entertargetdialog.cpp b/gui/entertargetdialog.cpp index 208d606..93656bb 100644 --- a/gui/entertargetdialog.cpp +++ b/gui/entertargetdialog.cpp @@ -68,7 +68,7 @@ EnterTargetDialog::EnterTargetDialog(QWidget *parent) : m_ui->setupUi(this); // apply style sheets #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/gui/mainwindow.cpp b/gui/mainwindow.cpp index 670d83d..6d5a95e 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -105,7 +105,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(m_infoWebView, &QWidget::customContextMenuRequested, this, &MainWindow::showInfoWebViewContextMenu); m_ui->tagSplitter->addWidget(m_infoWebView); #ifdef Q_OS_WIN32 - setStyleSheet(QStringLiteral("* { font: 9pt \"Segoe UI\"; } #fileNameLabel, #optionsLabel { font-size: 12pt; color: #003399; } #rightWidget, #rightWidget QSplitter::handle { background-color: white; }")); + setStyleSheet(QStringLiteral("#fileNameLabel, #optionsLabel { font-size: 12pt; color: #003399; } #rightWidget, #rightWidget QSplitter::handle { background-color: white; }")); #else setStyleSheet(QStringLiteral("#fileNameLabel, #optionsLabel { font-weight: bold; } ")); #endif diff --git a/gui/renamefilesdialog.cpp b/gui/renamefilesdialog.cpp index e42dfba..868788f 100644 --- a/gui/renamefilesdialog.cpp +++ b/gui/renamefilesdialog.cpp @@ -39,7 +39,7 @@ RenameFilesDialog::RenameFilesDialog(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; } QSplitter:handle { background-color: white; }")); + setStyleSheet(QStringLiteral("#mainWidget { color: black; background-color: white; border: none; } #bottomWidget { background-color: #F0F0F0; border-top: 1px solid #DFDFDF; } QSplitter:handle { background-color: white; }")); #endif // setup javascript editor and script file selection