From cccfdf5a9ed4397e05423f83f01cc7bf45d8b718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Wed, 1 Oct 2014 18:02:28 +0200 Subject: [PATCH] Proper color for placeholder text in TextFieldStyle Fixes unreadable placeholder text in TextField with dark themes. Reviewed-by:Kai Uwe Broulik --- .../plasmacomponents/qml/styles/TextFieldStyle.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarativeimports/plasmacomponents/qml/styles/TextFieldStyle.qml b/src/declarativeimports/plasmacomponents/qml/styles/TextFieldStyle.qml index 8549e589f..63be90624 100644 --- a/src/declarativeimports/plasmacomponents/qml/styles/TextFieldStyle.qml +++ b/src/declarativeimports/plasmacomponents/qml/styles/TextFieldStyle.qml @@ -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