diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 09:16:26 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 09:16:26 +0800 |
commit | 552fd78f70ad29490a7536d86a653a43c3c89a5f (patch) | |
tree | 678eee7bd2acfd6c2cf37a0615cd60999f62712a | |
parent | 061b0b205ea84a008bb52ef4f13dea77d9a37952 (diff) |
Insert task list in the day form
-rw-r--r-- | Future.qml | 3 | ||||
-rw-r--r-- | TaskList.qml | 2 | ||||
-rw-r--r-- | Today.qml | 3 | ||||
-rw-r--r-- | forms/DayForm.ui.qml | 5 |
4 files changed, 10 insertions, 3 deletions
@@ -4,4 +4,7 @@ import "forms" DayForm { title: qsTr("Future task") contentLabel.text: qsTr("You are back to the future.") + TaskList { + anchors.bottom: contentLabel.top + } } diff --git a/TaskList.qml b/TaskList.qml index 042fcad..696f9ce 100644 --- a/TaskList.qml +++ b/TaskList.qml @@ -1,6 +1,6 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 -import "pages" +import "forms" TaskListForm { objectName: "taskList" @@ -4,4 +4,7 @@ import "forms" DayForm { title: qsTr("Today") contentLabel.text: qsTr("Load `contentView` here") + TaskList { + anchors.bottom: contentLabel.top + } } diff --git a/forms/DayForm.ui.qml b/forms/DayForm.ui.qml index f2de6cf..0478110 100644 --- a/forms/DayForm.ui.qml +++ b/forms/DayForm.ui.qml @@ -1,12 +1,13 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 -import QtQuick.Controls.Material 2.12 Page { + id: page property alias contentLabel: contentLabel Label { id: contentLabel - anchors.centerIn: parent + anchors.horizontalCenter: parent.horizontalCenter + anchors.bottom: parent.bottom } } |