QSlider stylesheet handle gets slightly cut off on linux but looks fine on windows

  • alt text

    alt text

    QSlider::groove:horizontal {height:6px; background-color:red;}
    QSlider::handle{margin:-6px; image: url(:/image/handle.png)}

    Is there a way to make the slider on linux not slightly cut off the top and bottom of the handle?

  • I figured it out, it wasn't a stylesheet problem. I had to add


    and it worked.

    alt text

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.