Qss Slider Question
-
ui.xxx->setStyleSheet(
"QSlider::handle:horizontal{width: 50px; height: 50px; }"
);
Perhaps my question is a bit silly. I don't know what the pre condition for QSlider to control the size of the slider is. At least, I seem to have no problem with this line of code. Maybe it can be displayed in CSS, but I don't see the appropriate style. -
ui.xxx->setStyleSheet(
"QSlider::handle:horizontal{width: 50px; height: 50px; }"
);
Perhaps my question is a bit silly. I don't know what the pre condition for QSlider to control the size of the slider is. At least, I seem to have no problem with this line of code. Maybe it can be displayed in CSS, but I don't see the appropriate style.@hunter-Li said in Qss Slider Question:
but I don't see the appropriate style
What do you mean by that?
If you set stylesheet then it overrides the WHOLE stylesheet. -
@hunter-Li said in Qss Slider Question:
but I don't see the appropriate style
What do you mean by that?
If you set stylesheet then it overrides the WHOLE stylesheet. -
ui.xxx->setStyleSheet(
"QSlider::handle:horizontal{width: 50px; height: 50px; }"
);
Perhaps my question is a bit silly. I don't know what the pre condition for QSlider to control the size of the slider is. At least, I seem to have no problem with this line of code. Maybe it can be displayed in CSS, but I don't see the appropriate style.