diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-02 16:16:58 +0700 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-02 16:16:58 +0700 |
commit | 3d09c490431230050fb931da01adaebcb5bccb20 (patch) | |
tree | 1499415870a72657962ad0dc815bb52bff871031 /Friends.ui.qml | |
parent | 53962d923fd225c155502a5cfc805a0c464781e3 (diff) |
Card draft
Diffstat (limited to 'Friends.ui.qml')
-rw-r--r-- | Friends.ui.qml | 16 |
1 files changed, 14 insertions, 2 deletions
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 } -*/ } } } |