diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/gui/EventsPage.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/gui/EventsPage.qml b/res/gui/EventsPage.qml index 772418e..5e4adf3 100644 --- a/res/gui/EventsPage.qml +++ b/res/gui/EventsPage.qml @@ -19,9 +19,10 @@ Page { bottomMargin: 48 rightMargin: 48 spacing: 20 - model: ["Albert Einstein", "Ernest Hemingway", "Hans Gude"] + model: sports delegate: ItemDelegate { - text: modelData + required property string sportName + text: sportName width: listView.width - listView.leftMargin - listView.rightMargin height: avatar.implicitHeight + 32 leftPadding: avatar.implicitWidth + 32 |