From adb71170b308d7d9d3ef895b6cc7bbd9871381ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 5 Feb 2022 21:43:56 +0800 Subject: Stop using larva's home & task list forms --- Home.qml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'Home.qml') diff --git a/Home.qml b/Home.qml index 5d08e3d..f441318 100644 --- a/Home.qml +++ b/Home.qml @@ -1,29 +1,24 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 -import "larva/features" - -HomeForm { - //menuButton.onClicked: drawer.open() - //profileButton.onClicked: pageView.push("Profile.qml") +Page { StackLayout { id: layout anchors.fill: parent Page {} - TaskListForm { - listView { - model: ticketList - delegate: TicketForm { - title.text: subject - delegate.onClicked: { - window.ticketHistoryList(id, - true) - } + ListView { + model: ticketList + delegate: TicketForm { + width: layout.width + title.text: subject + delegate.onClicked: { + window.ticketHistoryList(id, true) } } + ScrollBar.vertical: ScrollBar {} } Page {} -- cgit v1.2.3