Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved slider

    QML and Qt Quick
    2
    3
    267
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      how to change color of slider's handle !!

      1 Reply Last reply Reply Quote 0
      • D
        DavidM29 last edited by

        Here is a sample :

            Slider{
                id: control
        
                    handle: Rectangle {
                        x: control.leftPadding + control.visualPosition * (control.availableWidth - width)
                        y: control.topPadding + control.availableHeight / 2 - height / 2
                        implicitWidth: 26
                        implicitHeight: 26
                        radius: 13
                        color: "blue"
                        border.color: "#bdbebf"
                    }
            }
        

        See doc

        1 Reply Last reply Reply Quote 3
        • ?
          A Former User last edited by

          Thank you very much, it worked.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post