diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 10:10:15 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 10:10:15 +0200 |
commit | fb651c85409e87232df885090c94924c7bbc038a (patch) | |
tree | adbb24f4ec5e4c4c35fec2ae9c918fd9f17bfe9a /components/package/contents/ui | |
parent | 87a4ce23ddf8b1481bf9cac11abd318bc97301d9 (diff) | |
download | kube-fb651c85409e87232df885090c94924c7bbc038a.tar.gz kube-fb651c85409e87232df885090c94924c7bbc038a.zip |
port attachment delegate to kube theme
Diffstat (limited to 'components/package/contents/ui')
-rw-r--r-- | components/package/contents/ui/AttachmentDelegate.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/AttachmentDelegate.qml b/components/package/contents/ui/AttachmentDelegate.qml index eb1c956a..a589c9f3 100644 --- a/components/package/contents/ui/AttachmentDelegate.qml +++ b/components/package/contents/ui/AttachmentDelegate.qml | |||
@@ -19,6 +19,7 @@ | |||
19 | import QtQuick 2.7 | 19 | import QtQuick 2.7 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import org.kde.kirigami 1.0 as Kirigami | 21 | import org.kde.kirigami 1.0 as Kirigami |
22 | import org.kube.components.theme 1.0 as KubeTheme | ||
22 | 23 | ||
23 | Item { | 24 | Item { |
24 | id: root | 25 | id: root |
@@ -33,7 +34,7 @@ Item { | |||
33 | anchors.fill: parent | 34 | anchors.fill: parent |
34 | 35 | ||
35 | id: background | 36 | id: background |
36 | color: Kirigami.Theme.disabledTextColor | 37 | color: KubeTheme.Colors.disabledTextColor |
37 | } | 38 | } |
38 | 39 | ||
39 | RowLayout { | 40 | RowLayout { |
@@ -49,7 +50,7 @@ Item { | |||
49 | height: Kirigami.Units.gridUnit | 50 | height: Kirigami.Units.gridUnit |
50 | width: Kirigami.Units.gridUnit | 51 | width: Kirigami.Units.gridUnit |
51 | 52 | ||
52 | color: Kirigami.Theme.backgroundColor | 53 | color: KubeTheme.Colors.backgroundColor |
53 | 54 | ||
54 | Kirigami.Icon { | 55 | Kirigami.Icon { |
55 | height: parent.height | 56 | height: parent.height |
@@ -61,7 +62,7 @@ Item { | |||
61 | 62 | ||
62 | Text { | 63 | Text { |
63 | text: root.name | 64 | text: root.name |
64 | color: Kirigami.Theme.backgroundColor | 65 | color: KubeTheme.Colors.backgroundColor |
65 | } | 66 | } |
66 | } | 67 | } |
67 | } | 68 | } |