diff options
Diffstat (limited to 'components/mail/contents/ui')
-rw-r--r-- | components/mail/contents/ui/Mail.qml | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml index 3978098f..a1ff1cb8 100644 --- a/components/mail/contents/ui/Mail.qml +++ b/components/mail/contents/ui/Mail.qml | |||
@@ -210,35 +210,19 @@ Controls2.ApplicationWindow { | |||
210 | } | 210 | } |
211 | } | 211 | } |
212 | 212 | ||
213 | Rectangle { | 213 | KubeComponents.Button { |
214 | id: newMailButton | 214 | id: newMailButton |
215 | |||
216 | anchors { | 215 | anchors { |
217 | top: toolBar.bottom | 216 | top: toolBar.bottom |
218 | left: parent.left | 217 | left: parent.left |
219 | right: parent.right | 218 | right: parent.right |
220 | margins: Kirigami.Units.largeSpacing | 219 | margins: Kirigami.Units.largeSpacing |
221 | } | 220 | } |
222 | |||
223 | color: KubeTheme.Colors.positveColor | 221 | color: KubeTheme.Colors.positveColor |
224 | clip: true | ||
225 | |||
226 | height: Kirigami.Units.gridUnit * 1.5 | 222 | height: Kirigami.Units.gridUnit * 1.5 |
227 | 223 | text: qsTr("New Email") | |
228 | Text { | 224 | onClicked: { |
229 | anchors.centerIn: parent | 225 | composer.open() |
230 | |||
231 | text: qsTr("New Email") | ||
232 | color: KubeTheme.Colors.highlightedTextColor | ||
233 | } | ||
234 | //iconName: "mail-message-new" | ||
235 | //Controls2.Tooltip.text: "compose new email" | ||
236 | |||
237 | MouseArea { | ||
238 | anchors.fill: parent | ||
239 | onClicked: { | ||
240 | composer.open() | ||
241 | } | ||
242 | } | 226 | } |
243 | } | 227 | } |
244 | 228 | ||