From 28e9d9e77320ff92f0ce7e5705311296e8e99107 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 3 Oct 2019 16:42:26 +0700 Subject: rework on `TaskHistoryForm` --- features/TaskDetailForm.ui.qml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'features/TaskDetailForm.ui.qml') diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml index 175432a..e032321 100644 --- a/features/TaskDetailForm.ui.qml +++ b/features/TaskDetailForm.ui.qml @@ -6,10 +6,13 @@ import QtQuick.Layouts 1.12 Page { id: page title: qsTr("Task detail page") + background: Rectangle { + color: "#FFFFFF" + } property alias backButton: backButton - property alias listView: listView property alias ticketBriefForm: ticketBriefForm + property alias listView: listView header: ToolBar { background: Rectangle { @@ -36,10 +39,12 @@ Page { } ScrollView { id: contentView - anchors.fill: parent - background: Rectangle { - color: "#FFFFFF" - } + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + anchors.top: parent.top + anchors.topMargin: 0 TaskBriefForm { id: ticketBriefForm anchors.top: parent.top @@ -72,18 +77,14 @@ Page { } ListView { id: listView + keyNavigationWraps: true + interactive: true anchors.right: parent.right anchors.rightMargin: 0 anchors.left: parent.left anchors.leftMargin: 0 anchors.top: separator.bottom anchors.topMargin: 0 - Rectangle { - color: "#eeeeee" - z: -1 - anchors.fill: parent - } - spacing: 0 } } } -- cgit v1.2.3