summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-10-03 11:13:15 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-10-03 11:13:15 +0700
commite2ee423c25f302c7fdb0a0c05fa7e7677f9192d8 (patch)
treed89e8ccb35e5db818c1edeaa3e75ee40e2a276e3
parent019e19f51c85ca6c2e787740b93487dcde7d4def (diff)
Move `ListView` inside `StackView`
-rw-r--r--features/TaskDetailForm.ui.qml90
1 files changed, 45 insertions, 45 deletions
diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml
index dc8b346..53fc6ed 100644
--- a/features/TaskDetailForm.ui.qml
+++ b/features/TaskDetailForm.ui.qml
@@ -18,7 +18,7 @@ Page {
RowLayout {
id: toolBar
anchors.fill: parent
- spacing: 0
+ spacing: 8
ToolButton {
id: backButton
icon.name: "back-button"
@@ -34,55 +34,55 @@ Page {
}
}
}
- StackView {
- id: contentView
- anchors.fill: parent
- background: Rectangle {
- color: "#FFFFFF"
- }
-
- TaskBriefForm {
- id: ticketBriefForm
- anchors.top: parent.top
- anchors.topMargin: 0
- anchors.right: parent.right
- anchors.rightMargin: 0
- anchors.left: parent.left
- anchors.leftMargin: 0
- }
-
- Label {
- id: separator
- color: "#000000"
- text: qsTr("Activities")
- font.weight: Font.Medium
- font.pixelSize: 16
- font.family: "Work Sans"
- anchors.left: parent.left
- anchors.leftMargin: 16
- anchors.top: ticketBriefForm.bottom
- anchors.topMargin: 8
- }
-
- ListView {
- id: listView
- width: parent.width
- height: parent.height
- anchors.topMargin: 8
- anchors.right: parent.right
- anchors.rightMargin: 0
- anchors.left: parent.left
- anchors.leftMargin: 0
- spacing: 8
+ StackView {
+ id: contentView
+ anchors.fill: parent
+ background: Rectangle {
+ color: "#FFFFFF"
+ }
- ScrollBar.vertical: ScrollBar {}
- }
- }
+ ListView {
+ id: listView
+ anchors.fill: parent
+ spacing: 8
+ TaskBriefForm {
+ id: ticketBriefForm
+ anchors.top: parent.top
+ anchors.topMargin: 0
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ }
+ RowLayout {
+ id: separator
+ height: separatorLabel.height + 32
+ anchors.top: ticketBriefForm.bottom
+ anchors.topMargin: 0
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ Label {
+ id: separatorLabel
+ height: 20
+ color: "#000000"
+ text: qsTr("Activities")
+ Layout.leftMargin: 16
+ verticalAlignment: Text.AlignVCenter
+ font.weight: Font.Medium
+ font.pixelSize: 16
+ font.family: "Work Sans"
+ }
+ }
+ ScrollBar.vertical: ScrollBar {}
+ }
+ }
}
/*##^##
Designer {
- D{i:0;autoSize:true;height:480;width:640}
+ D{i:0;autoSize:true;height:480;width:640}D{i:8;anchors_height:432;anchors_width:640}
}
##^##*/