summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-05-30 08:59:03 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-05-30 08:59:03 +0200
commit3c6668028efd6ee91a496b57f80ecbf77ea12e9e (patch)
tree5db5dbceebd8973d21e2861c9b9cc198e10b4de2
parent51fa4068883a745c6c41c1f50eaabbee78711eb9 (diff)
downloadkube-3c6668028efd6ee91a496b57f80ecbf77ea12e9e.tar.gz
kube-3c6668028efd6ee91a496b57f80ecbf77ea12e9e.zip
make attachment delegate a little more pretty
-rw-r--r--framework/qml/AttachmentDelegate.qml8
-rw-r--r--framework/qml/Icons.qml1
2 files changed, 5 insertions, 4 deletions
diff --git a/framework/qml/AttachmentDelegate.qml b/framework/qml/AttachmentDelegate.qml
index 06e15214..a1785527 100644
--- a/framework/qml/AttachmentDelegate.qml
+++ b/framework/qml/AttachmentDelegate.qml
@@ -27,8 +27,8 @@ Item {
27 signal open; 27 signal open;
28 signal download; 28 signal download;
29 29
30 width: content.width + Kube.Units.gridUnit / 2 30 width: content.width + Kube.Units.smallSpacing
31 height: content.height + Kube.Units.gridUnit / 2 31 height: content.height + Kube.Units.smallSpacing
32 32
33 Rectangle { 33 Rectangle {
34 anchors.fill: parent 34 anchors.fill: parent
@@ -53,11 +53,11 @@ Item {
53 color: Kube.Colors.backgroundColor 53 color: Kube.Colors.backgroundColor
54 } 54 }
55 Kube.IconButton { 55 Kube.IconButton {
56 iconName: Kube.Icons.goDown 56 iconName: Kube.Icons.goDown_inverted
57 onClicked: root.download() 57 onClicked: root.download()
58 } 58 }
59 Kube.IconButton { 59 Kube.IconButton {
60 iconName: Kube.Icons.edit 60 iconName: Kube.Icons.edit_inverted
61 onClicked: root.open() 61 onClicked: root.open()
62 } 62 }
63 } 63 }
diff --git a/framework/qml/Icons.qml b/framework/qml/Icons.qml
index 05cde6c9..74627457 100644
--- a/framework/qml/Icons.qml
+++ b/framework/qml/Icons.qml
@@ -50,6 +50,7 @@ Item {
50 property string goBack: "go-previous" 50 property string goBack: "go-previous"
51 property string goBack_inverted: "go-previous-inverted" 51 property string goBack_inverted: "go-previous-inverted"
52 property string goDown: "go-down" 52 property string goDown: "go-down"
53 property string goDown_inverted: "go-down-inverted"
53 property string goUp: "go-down" 54 property string goUp: "go-down"
54 55
55 property string addNew: "list-add-new" 56 property string addNew: "list-add-new"