Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. slider

slider

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 398 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    how to change color of slider's handle !!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DavidM29
      wrote on last edited by
      #2

      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
      3
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Thank you very much, it worked.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved