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

REG:[5.0.2 -> 5.4.1]QDoubleSpinBox cannot be used for (very) large numbers

    XMLWordPrintable

Details

    • 05e073deebfd3

    Description

      After moving to Qt 5, the sizeHint of QDoubleSpinBox changed.

      When it has a very large range, the width of the spinbox becomes ridiculously large (see the example).

      The best solution would be an automatic change to scientific notation, but it would be enough to have an upper limit on the size, or at least some kind of control.

      Attachments

        1. main.cpp
          0.3 kB
        2. QTBUG-44865.zip
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            carochao Caroline Chao (Inactive)
            salvipeter Peter Salvi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes