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

SpinBox text not clipped when larger than available width

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes