Important: Please read the Qt Code of Conduct -

styling Slider need help, color on half based on position

  • I want to style the slider similar to this
    wherein the color is different on both halfves of the slider based on the position.

    How do you think i can achieve this?

  • Lifetime Qt Champion


    I think you should be able to do what you want with a stylesheet like:

        background: rgb(0, 0, 255);
        background: rgb(128, 128, 128);

    Adjust the color to your liking.

Log in to reply