From 3d09c490431230050fb931da01adaebcb5bccb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 2 May 2023 16:16:58 +0700 Subject: Card draft --- Friends.ui.qml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'Friends.ui.qml') diff --git a/Friends.ui.qml b/Friends.ui.qml index d3dc2ab..ff4b723 100644 --- a/Friends.ui.qml +++ b/Friends.ui.qml @@ -26,18 +26,30 @@ Flickable { ListView { id: list interactive: false + implicitHeight: count * 88.5 model: ListModel { ListElement { image: "https://offsetcode.com/themes/messenger/2.2.0/assets/img/avatars/6.jpg" name: "Bill Marrow" status: qsTr("last seen 3 days ago") } + ListElement { + image: "https://offsetcode.com/themes/messenger/2.2.0/assets/img/avatars/5.jpg" + name: "Damien Binder" + status: qsTr("last seen within a week") + } + ListElement { + image: "" + name: "Don Knight" + status: qsTr("online") + } } -/* delegate: Card { width: list.width + imageSource: image + nameText: name + statusText: status } -*/ } } } -- cgit v1.2.3