Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.2
-
None
-
Not environment dependent
Description
Due to QStyleSheetStyle restores palette (in polish call) to saved one when it was connected to QWidget (or its parents), widget palette get locked in one state.
Same situation with QWidget font is handled with using _q_styleSheetWidgetFont property, which is updated in every setFont call.
But for palette I think we can add call in QWidget setPalette to QStyleSheetStyle which will update customPaletteWidgets variable.
Bug reproducing is simple, code in attachment
Attachments
Issue Links
- replaces
-
QTCREATORBUG-12078 Text editor background and text color spoiled when using custom stylesheet
- Closed