From f528d91e555cc8a445c6bf3eddc9cbaedfdc5014 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 12 Mar 2018 14:40:22 +0100 Subject: make textfield background different from page background in people composer --- views/people/qml/PersonComposer.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/views/people/qml/PersonComposer.qml b/views/people/qml/PersonComposer.qml index c85360a9..1d4dfa87 100644 --- a/views/people/qml/PersonComposer.qml +++ b/views/people/qml/PersonComposer.qml @@ -118,11 +118,13 @@ Flickable { Kube.TextField { width: Kube.Units.gridUnit * 15 placeholderText: qsTr("First Name") + backgroundColor: "white" } Kube.TextField { width: Kube.Units.gridUnit * 15 placeholderText: qsTr("Last Name") + backgroundColor: "white" } } @@ -139,6 +141,7 @@ Flickable { width: Kube.Units.gridUnit * 20 text: contactController.jobTitle placeholderText: qsTr("Job Title") + backgroundColor: "white" } Kube.TextField { @@ -153,6 +156,7 @@ Flickable { placeholderText: qsTr("Company") text: contactController.company + backgroundColor: "white" } } @@ -175,7 +179,7 @@ Flickable { delegate: Row { spacing: Kube.Units.smallSpacing Kube.Label { text: qsTr("(main)") } - Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelData ; color: Kube.Colors.highlightColor } + Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelDatas; color: Kube.Colors.highlightColor; backgroundColor: "white" } Item { width: Kube.Units.smallSpacing; height: 1 } } } @@ -205,7 +209,7 @@ Flickable { Row { spacing: Kube.Units.smallSpacing Kube.Label { text: qsTr("(main)") } - Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelData} + Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelData; backgroundColor: "white"} Item { width: Kube.Units.smallSpacing; height: 1 } } } @@ -229,16 +233,19 @@ Flickable { width: Kube.Units.gridUnit * 20 text: contactController.street placeholderText: qsTr("Street") + backgroundColor: "white" } Kube.TextField { width: Kube.Units.gridUnit * 20 text: contactController.city placeholderText: qsTr("City") + backgroundColor: "white" } Kube.TextField { width: Kube.Units.gridUnit * 20 text: contactController.country placeholderText: qsTr("Country") + backgroundColor: "white" } } Item { -- cgit v1.2.3