I\'m trying to change the background image of the grove and set an image on the handle. While doing so, I ran into a situation where the handle (which works) is being covered b
It seems to be a bug, it seems that the handle is resized to a size that makes it invisible, but if it can move with some difficulty. The last statement I checked with the following code.
connect(mySlider, &QSlider::valueChanged, [=](int value){
qDebug()<<value;
});
It is advisable to place a width and height, by example:
mySlider->setStyleSheet("QSlider::groove:horizontal {background-color:yellow;}"
"QSlider::handle:horizontal {background-color:blue; height:16px; width: 16px;}");