Navigation Menu

Skip to content

Commit

Permalink
[themes] Fix scrollbar border radius touching container border and ar…
Browse files Browse the repository at this point in the history
…ea corner styling
  • Loading branch information
nirvn authored and nyalldawson committed Oct 21, 2021
1 parent c96d20b commit bfb684d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -374,12 +374,14 @@ QScrollBar:horizontal {
height: 0.5em;
margin: 0px;
padding: 0px;
border-radius: 0.15em;
}

QScrollBar::handle:horizontal {
border: 1px solid @itemdarkbackground;
background: @background;
min-width: 0.8em;
border-radius: 0.15em;
}

QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
Expand All @@ -392,12 +394,14 @@ QScrollBar:vertical {
background-color: @itemdarkbackground;
width: 0.5em;
margin: 0;
border-radius: 0.15em;
}

QScrollBar::handle:vertical {
border: 1px solid @itemdarkbackground;
background: @background;
min-height: 0.8em;
border-radius: 0.15em;
}

QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical,
Expand All @@ -406,6 +410,10 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: transparent;
}

QAbstractScrollArea::corner {
border: 0;
background: transparent;
}

QSizeGrip
{
Expand Down

0 comments on commit bfb684d

Please sign in to comment.