Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Set QScrollBar handle color on pressed to keep the hover color
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerakin authored and gmarull committed Nov 11, 2019
1 parent 3a4f092 commit ddb4f80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions qtmodern/resources/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ QScrollBar::handle:vertical {
margin: 2px 4px 2px 4px;
}

QScrollBar::handle:vertical:hover {
QScrollBar::handle:vertical:hover, QScrollBar::handle:horizontal:hover, QScrollBar::handle:vertical:pressed, QScrollBar::handle:horizontal:pressed {
background-color:palette(highlight);
}

Expand Down Expand Up @@ -93,9 +93,6 @@ QScrollBar::handle:horizontal {
margin: 4px 2px 4px 2px;
}

QScrollBar::handle:horizontal:hover {
background-color: palette(highlight);
}

QScrollBar::add-line:horizontal {
background: none;
Expand Down

0 comments on commit ddb4f80

Please sign in to comment.