Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141090

RangeSlider first.value/second.value error when should be integer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.2
    • Quick: Controls 2
    • None

       

      import QtQuick 2.9
      import QtQuick.Controls 2.2
      Item {
          id: root
          width: 700
          height: 700
          RangeSlider {
              from: 0
              to: 7
              stepSize: 1
              snapMode: Slider.SnapAlways
              first.onValueChanged: console.log(first.value)
              second.onValueChanged: console.log(second.value)
          }
      }
      

       

      • qml: 2
        qml: 3
        qml: 4
        qml: 4.999999999999999
        qml: 6
        qml: 7
        qml: 1
        qml: 2
        qml: 3
        qml: 4
        qml: 4.999999999999999
        qml: 6
        qml: 4.999999999999999
        qml: 4
        qml: 3
        qml: 4
        qml: 4.999999999999999
        qml: 6
        qml: 4.999999999999999
        qml: 4

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            niqingliang2003 niqingliang2003
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes