diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-27 21:46:49 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-27 22:17:42 +0200 |
commit | e3a4d869cf0cc12a61f2b4faee44ab1d9751cca8 (patch) | |
tree | 22e5719b27e485e2ba9a47725d933941dd29fa58 /framework/qml/People.qml | |
parent | 2b8918e1cf28890b47c0cd2399eccf2087cbfbb4 (diff) | |
download | kube-e3a4d869cf0cc12a61f2b4faee44ab1d9751cca8.tar.gz kube-e3a4d869cf0cc12a61f2b4faee44ab1d9751cca8.zip |
Show Avatar images
Diffstat (limited to 'framework/qml/People.qml')
-rw-r--r-- | framework/qml/People.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml index aa23a78d..3445a5ba 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml | |||
@@ -149,13 +149,13 @@ Item { | |||
149 | } | 149 | } |
150 | } | 150 | } |
151 | 151 | ||
152 | Rectangle { | 152 | Kube.KubeImage { |
153 | id: avatarPlaceholder | 153 | id: avatarPlaceholder |
154 | 154 | ||
155 | height: parent.height | 155 | height: parent.height |
156 | width: height | 156 | width: height |
157 | 157 | ||
158 | color: "lightgrey" | 158 | imageData: model.imageData |
159 | } | 159 | } |
160 | 160 | ||
161 | Column { | 161 | Column { |
@@ -241,13 +241,13 @@ Item { | |||
241 | height: Kube.Units.gridUnit * 8 | 241 | height: Kube.Units.gridUnit * 8 |
242 | width: personPageRoot.width - Kube.Units.largeSpacing | 242 | width: personPageRoot.width - Kube.Units.largeSpacing |
243 | 243 | ||
244 | Rectangle { | 244 | Kube.KubeImage { |
245 | id: avatar | 245 | id: avatar |
246 | 246 | ||
247 | height: parent.height | 247 | height: parent.height |
248 | width: height | 248 | width: height |
249 | 249 | ||
250 | color: "lightgrey" | 250 | imageData: contactController.imageData |
251 | } | 251 | } |
252 | 252 | ||
253 | //TODO replace with Kube.Heading once it is there | 253 | //TODO replace with Kube.Heading once it is there |