QTextEdit, QLineEdits and QPushButtons are not distinguished from the background when the container widget is placed in a QToolBox if either the dark or the light mode is used.
Attached is a MWE CMake project that shows the wrong behaviour: TestQDarkStyle.zip
Actual Result and Expected Results / Proposed Result
The left part shows a widget as expected (circled in orange), whilst the left part (circled in blue) shows another instance of the same widget, this time embedded in a QToolBox. The two widgets are expected to look the same. When using the light mode, the result is similar.
Expected Results / Proposed Result
See previous subsection
Relevant Code
In version v2.8.1 the "offending" code lies in style.qss
Describe Your Environment
Language
C++ (Python should be affected as well)
Description / Steps to Reproduce
QTextEdit, QLineEdits and QPushButtons are not distinguished from the background when the container widget is placed in a QToolBox if either the dark or the light mode is used.
Attached is a MWE CMake project that shows the wrong behaviour: TestQDarkStyle.zip
Actual Result and Expected Results / Proposed Result
The left part shows a widget as expected (circled in orange), whilst the left part (circled in blue) shows another instance of the same widget, this time embedded in a
QToolBox
. The two widgets are expected to look the same. When using the light mode, the result is similar.Expected Results / Proposed Result
See previous subsection
Relevant Code
In version v2.8.1 the "offending" code lies in style.qss
In version v3.1, the "offending" code lies in darkstyle.qss and lightstyle.qss
Edit: I just saw now this looks fixed in https://github.com/ColinDuquesnoy/QDarkStyleSheet/pull/324