I wanted to change the color of the ticks, the small lines on either side of a QSlider, in PyQt. It turns out this is not possible in CSS, QSS or in QPalette.

When you use QSlider with a dark theme, the ticks are not visible.

#python #pyqt #qslider #qss #qpalette