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

Slider: Wrong handle position on vertical orientation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.4.2
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Operating systems: Archlinux,Android
    • Platform/s:
      Android
    • Commits:
      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

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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            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