-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.4, 5.10.1, 5.11.0 Beta 2
-
None
-
Tested on Windows and observed on Linux
-
6e8ac905397bf3067631c495e568471b4f908f37
When configuring a QDoubleSpinBox (or QSpinBox) not to have buttonSymbols the SizeHint stays the same as if these buttons are still present. So at the right (or left) of such a SpinBox there will be always unused white space.
Expected behavior would be that the layout of the SpinBox will shrink horizontally by the width of the (now not present) buttons.
- relates to
-
QTBUG-39713 QSpinBox still reserves space for buttons even when told to not show any buttons via QAbstractSpinBox::NoButtons (revival of QTBUG-1395)
-
- Closed
-
- resulted in
-
QTBUG-75303 QSpinBox: don't use hard-coded constant for the up/down button width
-
- Open
-
For Gerrit Dashboard: QTBUG-67126 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
224887,2 | QAbstractSpinBox: honor QAbstractSpinBox::NoButtons in sizeHint() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
259399,11 | QAbstractSpinBox: fix some ui glitches | 5.13 | qt/qtbase | Status: MERGED | +2 | 0 |