diff --git a/src/app/GUI/Dialogs/scenesettingsdialog.cpp b/src/app/GUI/Dialogs/scenesettingsdialog.cpp index 38eaaabbf..08976e933 100644 --- a/src/app/GUI/Dialogs/scenesettingsdialog.cpp +++ b/src/app/GUI/Dialogs/scenesettingsdialog.cpp @@ -101,7 +101,7 @@ SceneSettingsDialog::SceneSettingsDialog(const QString &name, mResToolButton = new QToolButton(this); mResToolButton->setArrowType(Qt::NoArrow); mResToolButton->setPopupMode(QToolButton::InstantPopup); - mResToolButton->setObjectName("ToolButton"); + mResToolButton->setObjectName("FlatButton"); mResToolButton->setIcon(QIcon::fromTheme("dots")); mResToolButton->setVisible(mEnableResolutionPresets); mResToolButton->setEnabled(mEnableResolutionPresets); @@ -140,7 +140,7 @@ SceneSettingsDialog::SceneSettingsDialog(const QString &name, mFpsToolButton = new QToolButton(this); mFpsToolButton->setArrowType(Qt::NoArrow); mFpsToolButton->setPopupMode(QToolButton::InstantPopup); - mFpsToolButton->setObjectName("ToolButton"); + mFpsToolButton->setObjectName("FlatButton"); mFpsToolButton->setIcon(QIcon::fromTheme("dots")); mFpsToolButton->setVisible(mEnableFpsPresets); mFpsToolButton->setEnabled(mEnableFpsPresets); diff --git a/src/app/friction.qss b/src/app/friction.qss index e9824f179..b5d7fc2fb 100644 --- a/src/app/friction.qss +++ b/src/app/friction.qss @@ -50,7 +50,8 @@ AlignWidget QComboBox { } QPushButton::menu-indicator, -QToolButton#ToolButton::menu-indicator{ width: 0px; } +QToolButton#ToolButton::menu-indicator, +QToolButton#FlatButton::menu-indicator { width: 0px; } QLineEdit#SearchLine { border-radius: 0; @@ -106,18 +107,21 @@ QPushButton#WelcomeRecentButton:hover { } AlignWidget QPushButton, -QPushButton#FlatButton { +QPushButton#FlatButton, +QToolButton#FlatButton { background-color: none; border: 0; border-radius: 10%; } -QPushButton#FlatButton { +QPushButton#FlatButton, +QToolButton#FlatButton { border-radius: 2%; } QCheckBox::indicator:unchecked:hover, -QPushButton#FlatButton:hover { +QPushButton#FlatButton:hover, +QToolButton#FlatButton:hover { background-color: rgb(112, 8, 10); }