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

SpinBox text not clipped when larger than available width

XMLWordPrintable

    • All
    • 3f8b59872 (dev), 1626c556e (6.5)

      If the text in a SpinBox is larger than its text field then the text is drawn outside of the SpinBox covering the spinbox buttons. The expected behavior is that the spinbox' text is clipped so that the buttons are not covered.

          SpinBox {
              anchors.centerIn: parent
              editable: true
              to: 1000000000
              width: 110
              clip: true
          }
      

      Tested with Universal and Material theme.

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

            richard Richard Moe Gustavsen
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes