summaryrefslogtreecommitdiffstats
path: root/components/mail/contents/ui/Mail.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-03 12:59:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-03 12:59:21 +0200
commitbc7a2ceabb8836a668d14f3dbf3731997921c7e7 (patch)
tree46def1d1ea370582da7f510d5874a6c78085369f /components/mail/contents/ui/Mail.qml
parentd3490fee9d19bbf9436968f05a78f3a619ae8616 (diff)
downloadkube-bc7a2ceabb8836a668d14f3dbf3731997921c7e7.tar.gz
kube-bc7a2ceabb8836a668d14f3dbf3731997921c7e7.zip
A Button
Diffstat (limited to 'components/mail/contents/ui/Mail.qml')
-rw-r--r--components/mail/contents/ui/Mail.qml24
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