-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0, 5.12.1
-
-
90c683e41cd978b55de57cb424a986db3b637fcc (qt/qtbase/5.12)
Setting color of text on focus of QTextEdit is not working when set by style sheet.
QTextEdit:focus { color: red; } // This doesn't work QTextEdit { color: red; } // works QTextEdit:focus{ background-color: red; } //works
Sample code attached.
For Gerrit Dashboard: QTBUG-72100 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
261828,10 | Q(Plain)TextEdit: Observe color hints from style sheet depending on focus state | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
264110,1 | Q(Plain)TextEdit: Observe color hints from style sheet depending on focus state | 5.12.4 | qt/qtbase | Status: ABANDONED | 0 | 0 |