Proper color for placeholder text in TextFieldStyle
Fixes unreadable placeholder text in TextField with dark themes. Reviewed-by:Kai Uwe Broulik
This commit is contained in:
parent
43e3359c68
commit
cccfdf5a9e
@ -31,6 +31,7 @@ QtQuickControlStyle.TextFieldStyle {
|
||||
textColor: theme.viewTextColor
|
||||
selectionColor: theme.viewFocusColor
|
||||
selectedTextColor: theme.viewBackgroundColor
|
||||
placeholderTextColor: Qt.tint(theme.viewTextColor, "#80000000")
|
||||
|
||||
background: Item {
|
||||
implicitHeight: theme.mSize(theme.defaultFont).height * 1.6
|
||||
|
Loading…
Reference in New Issue
Block a user