// set the slide groove
QSlider::groove:horizontal{
Margin:2px 0;
}
// Set the slider
QSlider::handle:horizontal{
Margin: -2px 0; // the slide coincides with the lower side of the slider
}
// set the slide groove
QSlider::groove:vertical{
Position: absolute; // absolute position
}
// Set the slider
QSlider::handle: vertical {
Margin: -2px 0; // the slide coincides with the lower side of the slider
}
Color on both sides of the slider chute //
QSlider::add-page:vertical{
}
QSlider::sub-page:vertical{
Background:green;
}
Published 104 original articles
·
won praise 22
·
views 40000 +