Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.3
-
Fix Version/s: None
-
Component/s: Widgets: Style Sheets
-
Labels:None
-
Environment:macOS 10.14.6, Qt 5.15.3
-
Platform/s:
Description
If you set text color of a QLineEdit with stylesheet, for example:
ui->lineEdit->setPlaceHolderText("placeholder");
ui->lineEdit->setStyleSheet("QLineEdit {color:black}");
The placeholder text is not grayed out. Instead it is displayed black. This is a regression. It does not happen with Qt 5.15.2, but happens in Qt 5.15.3. Also tried Qt 5.15.4 preview version, it didn't fix it.
This is so disappointing I bought a commercial license so that I can use Qt 5.15.3 to fix an annoying bug. Now I got an even more annoying bug... money well spent
Attachments
Issue Links
- duplicates
-
QTBUG-93009 QPalette::PlaceholderText color is not followed after setting color in a style sheet
-
- Reported
-