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. How to resize Slider touching ball ?
Forum Updated to NodeBB v4.3 + New Features

How to resize Slider touching ball ?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 435 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.
  • YunusY Offline
    YunusY Offline
    Yunus
    wrote on last edited by Yunus
    #1

    Hi all,

    I am using Qml slider and when I resized that, slider width can be re-setting so aspect ratio can be protected. But problem is that touching ball. Like in this picture:

    Screenshot from 2021-02-24 12-00-58.png

    As you can see slider touching ball is really bigger. I already checked the properties but seems like no property to set it.

    So my question is: how to set radius of this touching ball ?

    Thanks all !

    J.HilkJ 1 Reply Last reply
    0
    • YunusY Yunus

      Hi all,

      I am using Qml slider and when I resized that, slider width can be re-setting so aspect ratio can be protected. But problem is that touching ball. Like in this picture:

      Screenshot from 2021-02-24 12-00-58.png

      As you can see slider touching ball is really bigger. I already checked the properties but seems like no property to set it.

      So my question is: how to set radius of this touching ball ?

      Thanks all !

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Yunus
      https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-slider

      implicitHight / implicitWidth of the handle is what you're looking for, probably


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      4
      • YunusY Offline
        YunusY Offline
        Yunus
        wrote on last edited by
        #3

        @J-Hilk Ahhh exactly, thanks for reply

        1 Reply Last reply
        1

        • Login

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