summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/DayForm.ui.qml13
-rw-r--r--forms/TaskListForm.ui.qml34
2 files changed, 21 insertions, 26 deletions
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 {}
}
}