Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.7.1, 5.8.0 RC, 5.11.2, 5.12.0
Description
When resetting the stylesheet of a QSpinBox with empty string, the style does not revert back to the original style. If the string instead is an empty space (" "), the style properly gets reseted. Other controls such as QPushButton properly resets the style in the same scenario.
Steps to reproduce:
- Run attached sample
- Observe that the initial style sheets change the size of the controls visible
- Press button "Reset Stylesheets"
- EXPECTED: Both visible controls revert back to their original style
- ACTUAL: SpinBox does not change back to original style, instead keeping the initial stylesheet look
Attachments
Issue Links
- is duplicated by
-
QTBUG-58149 ComboBox does not notify its lineEdit about font change after stylesheet removal
- Closed
- relates to
-
QTBUG-37580 It would be nice if child widget inherits all parents property with css.
- Closed