I am trying to apply stylesheet for QScrollbar, the right side arrow is not showing up and I am not able to change handle width and the background color of the bar.
How can I make the right arrow appear and change the width of the handle along with background color?
code:
sliderOne.setStyleSheet('''
QScrollBar:horizontal {
border: 1px solid none;
height: 15px;
margin: 0px 20px 0px 20px;
}
QScrollbar::handle:horizontal {
min-width:8px;
}
''')
Image of what I am getting:
I achieved my requirement using custom images; for those of you who are interested, you can check this code.