Gui: Center notification label and disable show report view by default (#21872)

* Gui: Center notification label and disable show report view by default

* Stylesheet: min-width: 0 for QStatusBar QPushButton
This commit is contained in:
Max Wilfinger
2025-06-16 18:03:58 +02:00
committed by GitHub
parent 272505d22b
commit d59f404267
5 changed files with 15 additions and 3 deletions

View File

@@ -418,7 +418,7 @@ MainWindow::MainWindow(QWidget * parent, Qt::WindowFlags f)
notificationArea->setObjectName(QStringLiteral("notificationArea"));
//: A context menu action used to show or hide the 'notificationArea' toolbar widget
notificationArea->setWindowTitle(tr("Notification area"));
notificationArea->setStyleSheet(QStringLiteral("text-align:left;"));
notificationArea->setStyleSheet(QStringLiteral("text-align:center;"));
statusBar()->addPermanentWidget(notificationArea);
}