From 0a531922cd2f04eaa3d1c8b53d3d9b5d681b6eb7 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 24 May 2018 10:17:21 +0200 Subject: initial todo list --- views/todo/qml/View.qml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/views/todo/qml/View.qml b/views/todo/qml/View.qml index 345fc5a5..bf7b7dd6 100644 --- a/views/todo/qml/View.qml +++ b/views/todo/qml/View.qml @@ -28,6 +28,8 @@ FocusScope { RowLayout { anchors.fill: parent + spacing: 0 + Rectangle { width: Kube.Units.gridUnit * 10 Layout.fillHeight: parent.height @@ -50,7 +52,42 @@ FocusScope { } Rectangle { + + Layout.fillWidth: true + Layout.fillHeight: true + color: Kube.Colors.backgroundColor + + Kube.ListView { + anchors.fill: parent + + model: 5 + + delegate: Kube.ListDelegate { + + Kube.Label { + anchors { + verticalCenter: parent.verticalCenter + left: parent.left + leftMargin: Kube.Units.largeSpacing + } + text: "tilte" + } + + Row { + anchors { + verticalCenter: parent.verticalCenter + right: parent.right + rightMargin: Kube.Units.largeSpacing + } + + Kube.IconButton { + iconName: Kube.Icons.listRemove + } + + } + } + } } } } -- cgit v1.2.3