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

QML Slider: Negative values do not work as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.1
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      installed: qt-windows-opensource-5.1.0-msvc2010_opengl-x86-offline.exe
      qt creator: 2.8.0
      windows 7
    • Commits:
      qtquickcontrols/stable: 6a13f770939d3d0cf9788293025a25276847a696

      Description

      Specifying a Slider with

                  minimumValue: -100
                  maximumValue: +100
                  stepSize: 1
      

      should result in a slider capable of moving from -100 to +100, but the UI shows 0 at the leftmost point, negative values are not visible.

      This should either be supported or it should be stated that minimumValue can't be negative.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexl Alexander Lanin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes