diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-10-03 11:25:43 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-10-03 11:25:43 +0700 |
commit | 39564b2f7f44782eb5a0f2bebcff8860dc77706c (patch) | |
tree | a4ed5da13e90b089e1274764ded5886f5d8db4c7 /features | |
parent | e2ee423c25f302c7fdb0a0c05fa7e7677f9192d8 (diff) |
load `TaskHistoryForm` below anchor
Diffstat (limited to 'features')
-rw-r--r-- | features/TaskDetailForm.ui.qml | 75 |
1 files changed, 41 insertions, 34 deletions
diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml index 53fc6ed..ec6c4d1 100644 --- a/features/TaskDetailForm.ui.qml +++ b/features/TaskDetailForm.ui.qml @@ -40,41 +40,48 @@ Page { 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 + } + 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" + } + } 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" - } - } + anchors.bottom: parent.bottom + anchors.bottomMargin: 0 + anchors.top: separator.bottom + anchors.topMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + spacing: 0 + ScrollBar.vertical: ScrollBar {} } } @@ -82,7 +89,7 @@ Page { /*##^## Designer { - D{i:0;autoSize:true;height:480;width:640}D{i:8;anchors_height:432;anchors_width:640} + D{i:0;autoSize:true;height:480;width:640} } ##^##*/ |