diff options
author | bd <bdunahu@operationnull.com> | 2025-04-27 14:58:35 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-27 14:58:35 -0400 |
commit | 599593ff229cfcead87a9fa87b4eaa13f0e280b5 (patch) | |
tree | decc9ce2ba9da83bd5043a5828ff58a5d4518cb8 /gui/resources/styles.qss | |
parent | e1ac80f5f07c26a8423382cd306a1c1d07bf4c85 (diff) |
Make spinbox arrows invert colors when pressed
Diffstat (limited to 'gui/resources/styles.qss')
-rw-r--r-- | gui/resources/styles.qss | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gui/resources/styles.qss b/gui/resources/styles.qss index ea85e00..c6d8daa 100644 --- a/gui/resources/styles.qss +++ b/gui/resources/styles.qss @@ -74,8 +74,8 @@ QSpinBox::up-arrow { height: 7px; } -QSpinBox::down-arrow { - image: url(:/resources/arrow_down.png); +QSpinBox::up-arrow:pressed { + image: url(:/resources/arrow_up_pressed.png); width: 7px; height: 7px; } @@ -100,6 +100,18 @@ QSpinBox::down-button:pressed { background-color: "#000200"; } +QSpinBox::down-arrow { + image: url(:/resources/arrow_down.png); + width: 7px; + height: 7px; +} + +QSpinBox::down-arrow:pressed { + image: url(:/resources/arrow_down_pressed.png); + width: 7px; + height: 7px; +} + QTableView { border: 0px; selection-background-color: transparent; |