qt: Add margin for status bar icons

This commit is contained in:
ts-korhonen
2022-01-09 22:27:07 +02:00
parent f2d50125aa
commit 0b6ba2d09c

View File

@@ -66,7 +66,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->setupUi(this);
ui->stackedWidget->setMouseTracking(true);
statusBar()->setVisible(!hide_status_bar);
statusBar()->setStyleSheet("QStatusBar::item {border: None;}");
statusBar()->setStyleSheet("QStatusBar::item {border: None; } QStatusBar QLabel { margin-right: 4px; }");
ui->toolBar->setVisible(!hide_tool_bar);
this->setWindowIcon(QIcon(":/settings/win/icons/86Box-yellow.ico"));