Skip to content
Permalink
Browse files
[themes] Fix scrollbar border radius touching container border and ar…
…ea corner styling
  • Loading branch information
nirvn authored and nyalldawson committed Oct 21, 2021
1 parent c96d20b commit bfb684d155abde9bca562f5e7388f6bcf370bb58
Showing with 8 additions and 0 deletions.
  1. +8 −0 resources/themes/Blend of Gray/style.qss
@@ -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,
@@ -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,
@@ -406,6 +410,10 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: transparent;
}

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

QSizeGrip
{

0 comments on commit bfb684d

Please sign in to comment.