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
|
textColor: theme.viewTextColor
|
||||||
selectionColor: theme.viewFocusColor
|
selectionColor: theme.viewFocusColor
|
||||||
selectedTextColor: theme.viewBackgroundColor
|
selectedTextColor: theme.viewBackgroundColor
|
||||||
|
placeholderTextColor: Qt.tint(theme.viewTextColor, "#80000000")
|
||||||
|
|
||||||
background: Item {
|
background: Item {
|
||||||
implicitHeight: theme.mSize(theme.defaultFont).height * 1.6
|
implicitHeight: theme.mSize(theme.defaultFont).height * 1.6
|
||||||
|
Loading…
Reference in New Issue
Block a user