summaryrefslogtreecommitdiff
path: root/Friends.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-02 16:16:58 +0700
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-02 16:16:58 +0700
commit3d09c490431230050fb931da01adaebcb5bccb20 (patch)
tree1499415870a72657962ad0dc815bb52bff871031 /Friends.ui.qml
parent53962d923fd225c155502a5cfc805a0c464781e3 (diff)
Card draft
Diffstat (limited to 'Friends.ui.qml')
-rw-r--r--Friends.ui.qml16
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
}
-*/
}
}
}