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

SliderStyle: Slider handle's minimum position does not respect minimumValue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.1
    • 5.1.0 Beta 1, 5.1.0 RC1
    • Quick: Controls 1
    • None

    Description

      In the code below, the slider handle will not move into the left 30% of the groove.

      import QtQuick 2.1
      import QtQuick.Controls 1.0
      import QtQuick.Controls.Styles 1.0
      
      Item {
        width: 200
        height: 200
      
        Slider {
          width: parent.width
          minimumValue: 30
          maximumValue: 100
          value: 50
          style: SliderStyle {}
        }
      }
      

      Attachments

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

        Activity

          People

            bachewii Jens
            jfaust Josh Faust
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes