diff options
Diffstat (limited to 'components/package/contents/ui')
-rw-r--r-- | components/package/contents/ui/Composer.qml | 12 | ||||
-rw-r--r-- | components/package/contents/ui/FocusComposer.qml | 8 |
2 files changed, 11 insertions, 9 deletions
diff --git a/components/package/contents/ui/Composer.qml b/components/package/contents/ui/Composer.qml index aef6913b..1558ba0a 100644 --- a/components/package/contents/ui/Composer.qml +++ b/components/package/contents/ui/Composer.qml | |||
@@ -20,6 +20,8 @@ import QtQuick.Controls 1.4 | |||
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import QtQuick.Dialogs 1.0 | 21 | import QtQuick.Dialogs 1.0 |
22 | 22 | ||
23 | import org.kde.kirigami 1.0 as Kirigami | ||
24 | |||
23 | import org.kube.framework.domain 1.0 as KubeFramework | 25 | import org.kube.framework.domain 1.0 as KubeFramework |
24 | 26 | ||
25 | 27 | ||
@@ -54,7 +56,7 @@ Item { | |||
54 | 56 | ||
55 | columns: 2 | 57 | columns: 2 |
56 | 58 | ||
57 | Label { | 59 | Kirigami.Label { |
58 | text: "From" | 60 | text: "From" |
59 | } | 61 | } |
60 | 62 | ||
@@ -70,7 +72,7 @@ Item { | |||
70 | } | 72 | } |
71 | } | 73 | } |
72 | 74 | ||
73 | Label { | 75 | Kirigami.Label { |
74 | text: "To" | 76 | text: "To" |
75 | } | 77 | } |
76 | 78 | ||
@@ -112,7 +114,7 @@ Item { | |||
112 | } | 114 | } |
113 | } | 115 | } |
114 | 116 | ||
115 | Label { | 117 | Kirigami.Label { |
116 | text: "Cc" | 118 | text: "Cc" |
117 | 119 | ||
118 | visible: cc.visible | 120 | visible: cc.visible |
@@ -132,7 +134,7 @@ Item { | |||
132 | } | 134 | } |
133 | } | 135 | } |
134 | 136 | ||
135 | Label { | 137 | Kirigami.Label { |
136 | text: "Bcc" | 138 | text: "Bcc" |
137 | 139 | ||
138 | visible: bcc.visible | 140 | visible: bcc.visible |
@@ -209,7 +211,7 @@ Item { | |||
209 | 211 | ||
210 | model: composer.attachments | 212 | model: composer.attachments |
211 | 213 | ||
212 | delegate: Label { | 214 | delegate: Kirigami.Label { |
213 | id: name | 215 | id: name |
214 | 216 | ||
215 | text: modelData | 217 | text: modelData |
diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml index ea410338..b3c0d4a6 100644 --- a/components/package/contents/ui/FocusComposer.qml +++ b/components/package/contents/ui/FocusComposer.qml | |||
@@ -19,7 +19,7 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.4 | 19 | import QtQuick.Controls 1.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import org.kube.framework.theme 1.0 | 22 | import org.kde.kirigami 1.0 as Kirigami |
23 | 23 | ||
24 | Rectangle { | 24 | Rectangle { |
25 | id: root | 25 | id: root |
@@ -28,7 +28,7 @@ Rectangle { | |||
28 | composer.loadMessage(message, loadAsDraft); | 28 | composer.loadMessage(message, loadAsDraft); |
29 | } | 29 | } |
30 | 30 | ||
31 | color: ColorPalette.border | 31 | color: Kirigami.Theme.textColor |
32 | 32 | ||
33 | opacity: 0.9 | 33 | opacity: 0.9 |
34 | 34 | ||
@@ -46,7 +46,7 @@ Rectangle { | |||
46 | height: root.height * 0.8 | 46 | height: root.height * 0.8 |
47 | width: root.width * 0.8 | 47 | width: root.width * 0.8 |
48 | 48 | ||
49 | color: ColorPalette.background | 49 | color: Kirigami.Theme.backgroundColor |
50 | 50 | ||
51 | MouseArea { | 51 | MouseArea { |
52 | anchors.fill: parent | 52 | anchors.fill: parent |
@@ -56,7 +56,7 @@ Rectangle { | |||
56 | 56 | ||
57 | anchors { | 57 | anchors { |
58 | fill: parent | 58 | fill: parent |
59 | margins: Unit.size * 3 | 59 | margins: Kirigami.Units.largeSpacing |
60 | } | 60 | } |
61 | 61 | ||
62 | Composer { | 62 | Composer { |