summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Future.qml3
-rw-r--r--TaskList.qml2
-rw-r--r--Today.qml3
-rw-r--r--forms/DayForm.ui.qml5
4 files changed, 10 insertions, 3 deletions
diff --git a/Future.qml b/Future.qml
index 6550ad5..33b66fd 100644
--- a/Future.qml
+++ b/Future.qml
@@ -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"
diff --git a/Today.qml b/Today.qml
index a1fd613..4b08fae 100644
--- a/Today.qml
+++ b/Today.qml
@@ -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
}
}