Custom QScrollBar
Unsolved
QML and Qt Quick
-
Hello!
HTML: https://paste.ofcode.org/CUGGDJHRSvBueKGqsQkrmn
CSS: https://paste.ofcode.org/33ecknhamFsiZiqGgCHY9YAAll scrollbars: https://codepen.io/GhostRider/pen/GHaFw
I want to add "style-9" scrollbar (orange one) to my Qt project.I tried stylesheet but I was not successful.
Can anyone replace css code to Qt's stylesheet or QML?
Thanks all! -
Hi
I don't think Qt stylesheet supports even half of this#style-9::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5; }
so you best bet is to dig into
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
and see how close you can get it.