From 86ed329c306bb53681e22cdd3afc8f180293377a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 21 Sep 2019 14:35:29 +0800 Subject: Put the task list view inside the page that was in day form --- forms/DayForm.ui.qml | 13 ------------- forms/TaskListForm.ui.qml | 34 +++++++++++++++++++++------------- 2 files changed, 21 insertions(+), 26 deletions(-) delete mode 100644 forms/DayForm.ui.qml (limited to 'forms') diff --git a/forms/DayForm.ui.qml b/forms/DayForm.ui.qml deleted file mode 100644 index 0478110..0000000 --- a/forms/DayForm.ui.qml +++ /dev/null @@ -1,13 +0,0 @@ -import QtQuick 2.12 -import QtQuick.Controls 2.12 - -Page { - id: page - property alias contentLabel: contentLabel - - Label { - id: contentLabel - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom - } -} diff --git a/forms/TaskListForm.ui.qml b/forms/TaskListForm.ui.qml index 87f1b1c..ebe976a 100644 --- a/forms/TaskListForm.ui.qml +++ b/forms/TaskListForm.ui.qml @@ -2,19 +2,27 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 -ListView { - width: 362 - height: parent.height - anchors.topMargin: 8 - anchors.right: parent.right - anchors.rightMargin: 0 - anchors.left: parent.left - anchors.leftMargin: 0 - spacing: 12 +Page { + id: page + property alias listView: listView - Rectangle { - id: rectangle - anchors.fill: parent - z: -1 + ListView { + id: listView + width: 362 + height: parent.height + anchors.topMargin: 8 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + spacing: 12 + + Rectangle { + id: rectangle + anchors.fill: parent + z: -1 + } + + ScrollBar.vertical: ScrollBar {} } } -- cgit v1.2.3