diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-24 14:17:30 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-24 14:17:48 +0200 |
commit | 1e68205f7f40f7ce2c457d0db60cdff4587da244 (patch) | |
tree | db5ef7424b606cd9cb5b784b2e1f973bcede4744 /framework/qml/AttachmentDelegate.qml | |
parent | c1923b70033f5149cdf31cc84d3f3daca8d34e0f (diff) | |
download | kube-1e68205f7f40f7ce2c457d0db60cdff4587da244.tar.gz kube-1e68205f7f40f7ce2c457d0db60cdff4587da244.zip |
Fixed attachment icon sizes
Diffstat (limited to 'framework/qml/AttachmentDelegate.qml')
-rw-r--r-- | framework/qml/AttachmentDelegate.qml | 23 |
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 | } |