Angelo Moriconi
14th June 2007, 10:38
Hi all !
I cannot find the way to style a vertical QSlider, the qss code that I use for the horizontal slider is:
QSlider::groove:horizontal
{
border-image: url(qss/sl_groove.png) 1;
border-width: 1;
height: 1px;
}
QSlider::handle:horizontal
{
image: url(qss/h_handle.png);
top: -6px;
}
I use the same code (changing height with width) for the vertical pseudo-states but the slider handle doesn't move anymore and seems to move horizontally !?!
Probably something is missing but I don't know what...
Any suggestions about that ?
Thanks in advance,
Angelo
I cannot find the way to style a vertical QSlider, the qss code that I use for the horizontal slider is:
QSlider::groove:horizontal
{
border-image: url(qss/sl_groove.png) 1;
border-width: 1;
height: 1px;
}
QSlider::handle:horizontal
{
image: url(qss/h_handle.png);
top: -6px;
}
I use the same code (changing height with width) for the vertical pseudo-states but the slider handle doesn't move anymore and seems to move horizontally !?!
Probably something is missing but I don't know what...
Any suggestions about that ?
Thanks in advance,
Angelo