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

Set QScrollBar handle color on pressed to keep the hover color #28

Merged
merged 1 commit into from
Nov 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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