diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-03-12 14:40:22 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2018-03-12 15:04:45 +0100 |
commit | f528d91e555cc8a445c6bf3eddc9cbaedfdc5014 (patch) | |
tree | 6a30f6aef17abc38f060b1f6d280b9c20f521c83 | |
parent | 35aaeffc02e66aaef9641cd6e922510602130004 (diff) | |
download | kube-f528d91e555cc8a445c6bf3eddc9cbaedfdc5014.tar.gz kube-f528d91e555cc8a445c6bf3eddc9cbaedfdc5014.zip |
make textfield background different from page background in people composer
-rw-r--r-- | views/people/qml/PersonComposer.qml | 11 |
1 files 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 { | |||
118 | Kube.TextField { | 118 | Kube.TextField { |
119 | width: Kube.Units.gridUnit * 15 | 119 | width: Kube.Units.gridUnit * 15 |
120 | placeholderText: qsTr("First Name") | 120 | placeholderText: qsTr("First Name") |
121 | backgroundColor: "white" | ||
121 | } | 122 | } |
122 | 123 | ||
123 | Kube.TextField { | 124 | Kube.TextField { |
124 | width: Kube.Units.gridUnit * 15 | 125 | width: Kube.Units.gridUnit * 15 |
125 | placeholderText: qsTr("Last Name") | 126 | placeholderText: qsTr("Last Name") |
127 | backgroundColor: "white" | ||
126 | } | 128 | } |
127 | } | 129 | } |
128 | 130 | ||
@@ -139,6 +141,7 @@ Flickable { | |||
139 | width: Kube.Units.gridUnit * 20 | 141 | width: Kube.Units.gridUnit * 20 |
140 | text: contactController.jobTitle | 142 | text: contactController.jobTitle |
141 | placeholderText: qsTr("Job Title") | 143 | placeholderText: qsTr("Job Title") |
144 | backgroundColor: "white" | ||
142 | } | 145 | } |
143 | 146 | ||
144 | Kube.TextField { | 147 | Kube.TextField { |
@@ -153,6 +156,7 @@ Flickable { | |||
153 | 156 | ||
154 | placeholderText: qsTr("Company") | 157 | placeholderText: qsTr("Company") |
155 | text: contactController.company | 158 | text: contactController.company |
159 | backgroundColor: "white" | ||
156 | } | 160 | } |
157 | } | 161 | } |
158 | 162 | ||
@@ -175,7 +179,7 @@ Flickable { | |||
175 | delegate: Row { | 179 | delegate: Row { |
176 | spacing: Kube.Units.smallSpacing | 180 | spacing: Kube.Units.smallSpacing |
177 | Kube.Label { text: qsTr("(main)") } | 181 | Kube.Label { text: qsTr("(main)") } |
178 | Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelData ; color: Kube.Colors.highlightColor } | 182 | Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelDatas; color: Kube.Colors.highlightColor; backgroundColor: "white" } |
179 | Item { width: Kube.Units.smallSpacing; height: 1 } | 183 | Item { width: Kube.Units.smallSpacing; height: 1 } |
180 | } | 184 | } |
181 | } | 185 | } |
@@ -205,7 +209,7 @@ Flickable { | |||
205 | Row { | 209 | Row { |
206 | spacing: Kube.Units.smallSpacing | 210 | spacing: Kube.Units.smallSpacing |
207 | Kube.Label { text: qsTr("(main)") } | 211 | Kube.Label { text: qsTr("(main)") } |
208 | Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelData} | 212 | Kube.TextField { width: Kube.Units.gridUnit * 15; text: modelData; backgroundColor: "white"} |
209 | Item { width: Kube.Units.smallSpacing; height: 1 } | 213 | Item { width: Kube.Units.smallSpacing; height: 1 } |
210 | } | 214 | } |
211 | } | 215 | } |
@@ -229,16 +233,19 @@ Flickable { | |||
229 | width: Kube.Units.gridUnit * 20 | 233 | width: Kube.Units.gridUnit * 20 |
230 | text: contactController.street | 234 | text: contactController.street |
231 | placeholderText: qsTr("Street") | 235 | placeholderText: qsTr("Street") |
236 | backgroundColor: "white" | ||
232 | } | 237 | } |
233 | Kube.TextField { | 238 | Kube.TextField { |
234 | width: Kube.Units.gridUnit * 20 | 239 | width: Kube.Units.gridUnit * 20 |
235 | text: contactController.city | 240 | text: contactController.city |
236 | placeholderText: qsTr("City") | 241 | placeholderText: qsTr("City") |
242 | backgroundColor: "white" | ||
237 | } | 243 | } |
238 | Kube.TextField { | 244 | Kube.TextField { |
239 | width: Kube.Units.gridUnit * 20 | 245 | width: Kube.Units.gridUnit * 20 |
240 | text: contactController.country | 246 | text: contactController.country |
241 | placeholderText: qsTr("Country") | 247 | placeholderText: qsTr("Country") |
248 | backgroundColor: "white" | ||
242 | } | 249 | } |
243 | } | 250 | } |
244 | Item { | 251 | Item { |