Gui: Ability to target new file buttons fia QSS.

This adds ability to target New File buttons via `#CreateNewRow >
QPushButton` selector.
This commit is contained in:
Kacper Donat
2024-07-10 22:59:27 +02:00
committed by Chris Hennes
parent 538579d5dd
commit d282d449b9
3 changed files with 21 additions and 1 deletions

View File

@@ -1197,6 +1197,11 @@ QPushButton {
min-width: 80px;
}
#CreateNewRow > QPushButton {
/* Reset min width to default */
min-width: -1;
}
QPushButton:disabled {
background-color: #444444;
color: #adadad;

View File

@@ -1123,6 +1123,11 @@ QPushButton {
min-width: 80px;
}
#CreateNewRow > QPushButton {
/* Reset min width to default */
min-width: -1;
}
QPushButton:disabled {
background-color: #d8d8d8;
color: #adadad;