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.

        1. spinbox_quick.png
          8 kB
          Ivan Solovev
        2. spinbox_quick_material.png
          10 kB
          Ivan Solovev
        3. spinbox_widgets.png
          8 kB
          Ivan Solovev
        For Gerrit Dashboard: QTBUG-98355
        # Subject Branch Project Status CR V

            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