From e5dc68c840279707e4fb53b704d5674f774df15d Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 3 Oct 2019 14:48:03 +0700 Subject: add background color to `ListView` --- features/TaskDetailForm.ui.qml | 5 +++++ features/TaskHistoryForm.ui.qml | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'features') diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml index ec6c4d1..bff578d 100644 --- a/features/TaskDetailForm.ui.qml +++ b/features/TaskDetailForm.ui.qml @@ -72,6 +72,11 @@ Page { } ListView { id: listView + Rectangle { + color: "#eeeeee" + z: -1 + anchors.fill: parent + } anchors.bottom: parent.bottom anchors.bottomMargin: 0 anchors.top: separator.bottom diff --git a/features/TaskHistoryForm.ui.qml b/features/TaskHistoryForm.ui.qml index 316b1a2..23b5a30 100644 --- a/features/TaskHistoryForm.ui.qml +++ b/features/TaskHistoryForm.ui.qml @@ -5,9 +5,6 @@ import QtQuick.Layouts 1.12 Page { id: page - background: Rectangle { - color: "#eeeeee" - } height: ticketDescriptionLayout.height property alias creatorText: creatorText property alias ticketDescription: ticketDescription -- cgit v1.2.3