From 811d3d797e4a5865e60e74edecde604c7f10f370 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Fri, 3 Feb 2017 14:19:38 +0100 Subject: but name and avatar in same row --- components/package/contents/ui/People.qml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'components/package/contents') 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 { width: parent.width* 0.8 color: "#27ae60" - clip: true Text { - anchors.centerIn: parent clip: true @@ -159,23 +157,25 @@ Popup { width: parent.width - Avatar { - id: avatar + RowLayout { + Avatar { + id: avatar - height: Kirigami.Units.gridUnit * 2.5 - width: height + height: Kirigami.Units.gridUnit * 2.5 + width: height - name: contactController.name - } + name: contactController.name + } - Text { - color: Kirigami.Theme.textColor - opacity: 0.8 + Text { + color: Kirigami.Theme.textColor + opacity: 0.8 - text: contactController.name + text: contactController.name - font.weight: Font.DemiBold + font.weight: Font.DemiBold + } } Text { -- cgit v1.2.3