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

Slider: Wrong handle position on vertical orientation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.2
    • 5.3.1
    • Quick: Controls 1
    • None
    • Operating systems: Archlinux,Android
    • Android
    • 8c8303faad310d5bbe4abd2435a60c76d20cb1d6

    Description

      The handle position of the Slider is not set correctly, when the orientation of the Slider is vertical and the value is set to the maximum (see code below).

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      
      Item {
          width: 640
          height: 480
      
          Slider {
              anchors.fill: parent
              orientation: Qt.Vertical
              minimumValue: 0
              maximumValue: 100
              stepSize: 1
              value: 100
          }
      }
      

      In this case, the value is set to the maximum value but the slider handle stays at the minimum value.

      Attachments

        For Gerrit Dashboard: QTBUG-41255
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            hessi Markus Heß
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes