diff options
-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 } } |