Skip to content

Commit

Permalink
More minor style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 19, 2023
1 parent 81824d6 commit 527b914
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/GUI/Dialogs/scenesettingsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
12 changes: 8 additions & 4 deletions src/app/friction.qss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 527b914

Please sign in to comment.