From f265b7fdb808e16c58cca1e3027387be4279a63d Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Fri, 27 Sep 2019 17:36:34 +0700 Subject: adding `attachmentItemLayout` --- features/TaskDetailForm.ui.qml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'features') diff --git a/features/TaskDetailForm.ui.qml b/features/TaskDetailForm.ui.qml index 20e11c9..3c81052 100644 --- a/features/TaskDetailForm.ui.qml +++ b/features/TaskDetailForm.ui.qml @@ -124,6 +124,36 @@ Page { Layout.fillWidth: true } } + RowLayout { + id: attachmentItemLayout + height: attachmentItem.height + 16 + anchors.leftMargin: 0 + anchors.top: attachmentLayout.bottom + anchors.topMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + ItemDelegate { + id: attachmentItem + height: 56 + text: qsTr("Attached-file-name.file-format") + rightPadding: 16 + leftPadding: 161 + bottomPadding: 16 + topPadding: 16 + highlighted: false + font.weight: Font.Medium + font.pixelSize: 14 + font.family: "Work Sans" + Layout.rightMargin: 16 + Layout.leftMargin: 66 + Layout.fillWidth: true + background: Rectangle { + color: "#D6C3F8" + radius: 8 + } + } + } } /*##^## -- cgit v1.2.3