summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-10-03 14:48:03 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-10-03 14:48:03 +0700
commite5dc68c840279707e4fb53b704d5674f774df15d (patch)
treef721cdcb75a1bae82a1cc0df71caa836215e6cb7
parent39564b2f7f44782eb5a0f2bebcff8860dc77706c (diff)
add background color to `ListView`
-rw-r--r--features/TaskDetailForm.ui.qml5
-rw-r--r--features/TaskHistoryForm.ui.qml3
2 files changed, 5 insertions, 3 deletions
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