Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.7, 6.2.2
-
-
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
- relates to
-
QTBUG-97648 TextField clipping breaks batching; so maybe avoid populating characters outside?
-
- Reported
-
- resulted in
-
QTBUG-109435 Text that doesn't fit in SpinBox may be incorrectly clipped with 200% scaling
-
- Reported
-
For Gerrit Dashboard: QTBUG-98355 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
448349,9 | Spinbox: clip contentItem | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
449680,2 | Spinbox: clip contentItem | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
449681,1 | Spinbox: clip contentItem | 6.4 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |