diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 14:35:29 +0800 | 
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 14:35:29 +0800 | 
| commit | 86ed329c306bb53681e22cdd3afc8f180293377a (patch) | |
| tree | 6f5957bd8cbc778bf821f5bb93cfb9d66d5cb46c /forms | |
| parent | 5e7911117b621cbda0f12af69eb471e9732cf306 (diff) | |
Put the task list view inside the page
that was in day form
Diffstat (limited to 'forms')
| -rw-r--r-- | forms/DayForm.ui.qml | 13 | ||||
| -rw-r--r-- | forms/TaskListForm.ui.qml | 34 | 
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 {}  	}  } |