summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-27 17:36:34 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-27 17:36:34 +0700
commitf265b7fdb808e16c58cca1e3027387be4279a63d (patch)
tree217fb325c3361ed68e7020f185a5c12406489caf /features
parent24bfec230e5ab25a50e5d6876719e538191d0be4 (diff)
adding `attachmentItemLayout`
Diffstat (limited to 'features')
-rw-r--r--features/TaskDetailForm.ui.qml30
1 files changed, 30 insertions, 0 deletions
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
+ }
+ }
+ }
}
/*##^##