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

Spinbox: When decimals are set before the value, value isn't set correctly.

    XMLWordPrintable

Details

    • 6bcacdecb8445a5ad9a31f6bdac99cde076e6295

    Description

      With the following code snippet the value is 0 even after setting it to 0.25.
      If the value is set before decimals it will be set correctly.

      main.qml
      import QtQuick 2.0
      import QtQuick.Controls 1.0
      
      SpinBox {
          //value: 0.25
          decimals: 3
          value: 0.25
      }
      

      Attachments

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

        Activity

          People

            bachewii Jens
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes