Details
-
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
Description
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.
Attachments
Issue Links
- 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
-