summaryrefslogtreecommitdiff
path: root/Friends.ui.qml
diff options
context:
space:
mode:
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
}
-*/
}
}
}