summaryrefslogtreecommitdiffstats
path: root/framework/qml/AttachmentDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/AttachmentDelegate.qml')
-rw-r--r--framework/qml/AttachmentDelegate.qml23
1 files changed, 4 insertions, 19 deletions
diff --git a/framework/qml/AttachmentDelegate.qml b/framework/qml/AttachmentDelegate.qml
index 081baf5d..06e15214 100644
--- a/framework/qml/AttachmentDelegate.qml
+++ b/framework/qml/AttachmentDelegate.qml
@@ -39,39 +39,24 @@ Item {
39 39
40 Row { 40 Row {
41 id: content 41 id: content
42
43 anchors.centerIn: parent 42 anchors.centerIn: parent
44
45 spacing: Kube.Units.smallSpacing 43 spacing: Kube.Units.smallSpacing
46 44 Kube.Icon {
47 Rectangle { 45 anchors.verticalCenter: parent.verticalCenter
48 id: mimetype
49
50 height: Kube.Units.gridUnit 46 height: Kube.Units.gridUnit
51 width: Kube.Units.gridUnit 47 width: Kube.Units.gridUnit
52 48 iconName: root.icon
53 color: Kube.Colors.backgroundColor
54
55 Kube.Icon {
56 height: parent.height
57 width: height
58 iconName: root.icon
59 }
60 } 49 }
61
62 Label { 50 Label {
51 anchors.verticalCenter: parent.verticalCenter
63 text: root.name 52 text: root.name
64 color: Kube.Colors.backgroundColor 53 color: Kube.Colors.backgroundColor
65 } 54 }
66 Kube.IconButton { 55 Kube.IconButton {
67 height: parent.height
68 width: height
69 iconName: Kube.Icons.goDown 56 iconName: Kube.Icons.goDown
70 onClicked: root.download() 57 onClicked: root.download()
71 } 58 }
72 Kube.IconButton { 59 Kube.IconButton {
73 height: parent.height
74 width: height
75 iconName: Kube.Icons.edit 60 iconName: Kube.Icons.edit
76 onClicked: root.open() 61 onClicked: root.open()
77 } 62 }