Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.0.1
-
None
Description
On both macOS and windows, black is returned when querying Qpalette for the place holder text color. While I have no idea how to query the correct color on windows, it can be retrieved on macOS using
NSColor * placeholderTextColor = [ [ NSColor placeholderTextColor ] colorUsingColorSpace: [ NSColorSpace deviceRGBColorSpace ] ];
Attachments
Issue Links
- duplicates
-
QTBUG-86195 QLineEdit placeholderText is black instead of grey
- Reported
- relates to
-
QTBUG-78544 QPalette resolve_mask doesn't contain color group data
- Closed
-
QTBUG-89550 QLineEdit PlaceholderText in stylesheet
- Reported
-
QTBUG-93009 QPalette::PlaceholderText color is not followed after setting color in a style sheet
- Closed
-
QTBUG-93746 There's no PlaceholderText property in ColorGroup
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-92947 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
344023,1 | windows: Get a system color for QPalette::PlaceholderText | dev | qt/qtbase | Status: NEW | 0 | 0 |