diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-02-03 14:19:38 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-02-03 14:19:38 +0100 |
commit | 811d3d797e4a5865e60e74edecde604c7f10f370 (patch) | |
tree | e4aa2528081b078e96cf000d22d30b12ed050b8e /components/package/contents/ui/People.qml | |
parent | 84714d6f9435b59045c08c76eb556663d1ee36d4 (diff) | |
download | kube-811d3d797e4a5865e60e74edecde604c7f10f370.tar.gz kube-811d3d797e4a5865e60e74edecde604c7f10f370.zip |
but name and avatar in same row
Diffstat (limited to 'components/package/contents/ui/People.qml')
-rw-r--r-- | components/package/contents/ui/People.qml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/components/package/contents/ui/People.qml b/components/package/contents/ui/People.qml index 810ae0f4..13c98530 100644 --- a/components/package/contents/ui/People.qml +++ b/components/package/contents/ui/People.qml | |||
@@ -50,11 +50,9 @@ Popup { | |||
50 | width: parent.width* 0.8 | 50 | width: parent.width* 0.8 |
51 | 51 | ||
52 | color: "#27ae60" | 52 | color: "#27ae60" |
53 | |||
54 | clip: true | 53 | clip: true |
55 | 54 | ||
56 | Text { | 55 | Text { |
57 | |||
58 | anchors.centerIn: parent | 56 | anchors.centerIn: parent |
59 | 57 | ||
60 | clip: true | 58 | clip: true |
@@ -159,23 +157,25 @@ Popup { | |||
159 | 157 | ||
160 | width: parent.width | 158 | width: parent.width |
161 | 159 | ||
162 | Avatar { | 160 | RowLayout { |
163 | id: avatar | ||
164 | 161 | ||
162 | Avatar { | ||
163 | id: avatar | ||
165 | 164 | ||
166 | height: Kirigami.Units.gridUnit * 2.5 | 165 | height: Kirigami.Units.gridUnit * 2.5 |
167 | width: height | 166 | width: height |
168 | 167 | ||
169 | name: contactController.name | 168 | name: contactController.name |
170 | } | 169 | } |
171 | 170 | ||
172 | Text { | 171 | Text { |
173 | color: Kirigami.Theme.textColor | 172 | color: Kirigami.Theme.textColor |
174 | opacity: 0.8 | 173 | opacity: 0.8 |
175 | 174 | ||
176 | text: contactController.name | 175 | text: contactController.name |
177 | 176 | ||
178 | font.weight: Font.DemiBold | 177 | font.weight: Font.DemiBold |
178 | } | ||
179 | } | 179 | } |
180 | 180 | ||
181 | Text { | 181 | Text { |