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. qml slider wraps from lowest value to hightest (when you drag slider handler to lowest value it jumps handler to highest value)
Qt 6.11 is out! See what's new in the release blog

qml slider wraps from lowest value to hightest (when you drag slider handler to lowest value it jumps handler to highest value)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 553 Views 1 Watching
  • 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.
  • J Offline
    J Offline
    jfinn123
    wrote on last edited by
    #1

    Having issues figuring out how to stop a qml slider from wrapping from the lowest value to the highest value on the slider.

    when I drag the slider handler to lowest value it jumps handler to highest value

    I don't see any properties or handler styling that would prevent this and starting to think it might be in my touch screen driver in my linux kernel.

    J.HilkJ 1 Reply Last reply
    0
    • J jfinn123

      Having issues figuring out how to stop a qml slider from wrapping from the lowest value to the highest value on the slider.

      when I drag the slider handler to lowest value it jumps handler to highest value

      I don't see any properties or handler styling that would prevent this and starting to think it might be in my touch screen driver in my linux kernel.

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

      @jfinn123 hi and welcome,

      you're right, Slider does not have a wrap property like (for example) Dial and shouldn't behave like you describe it.

      Are you sure, that your you release your finger (or the mouse down signal at least) on a valid part of your slider, otherwise it may just jump back to the last valid location after release


      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
      0

      • Login

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