summaryrefslogtreecommitdiffstats
path: root/components/mail/contents/ui/main.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-12-04 12:04:31 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-12-04 12:04:31 +0100
commit9594d734d36c159b0d392e1e8c4f26663418aac8 (patch)
tree4db4f667ca691ac7fe1b068ef97ddd08d8b2b8f5 /components/mail/contents/ui/main.qml
parent51b55a0e76b25f07d90b969103b9c92d7b91d7d5 (diff)
downloadkube-9594d734d36c159b0d392e1e8c4f26663418aac8.tar.gz
kube-9594d734d36c159b0d392e1e8c4f26663418aac8.zip
start porting main.qml to qqc2
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r--components/mail/contents/ui/main.qml12
1 files changed, 7 insertions, 5 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml
index bd0e0f31..50072ebe 100644
--- a/components/mail/contents/ui/main.qml
+++ b/components/mail/contents/ui/main.qml
@@ -248,12 +248,14 @@ Controls2.ApplicationWindow {
248 height: parent.height 248 height: parent.height
249 width: mailView.width 249 width: mailView.width
250 250
251 Button { 251 Controls2.Button {
252 id: newMailButton 252 id: newMailButton
253 253
254 Layout.fillHeight: true
255
254 //iconName: "mail-message-new" 256 //iconName: "mail-message-new"
255 text: "New Email" 257 text: " New Email "
256 tooltip: "compose new email" 258 //Controls2.Tooltip.text: "compose new email"
257 onClicked: { 259 onClicked: {
258 composer.open() 260 composer.open()
259 } 261 }
@@ -286,10 +288,10 @@ Controls2.ApplicationWindow {
286 Layout.fillWidth: true 288 Layout.fillWidth: true
287 } 289 }
288 290
289 TextField { 291 Controls2.TextField {
290 id: searchBar 292 id: searchBar
291 293
292 Layout.minimumWidth: Kirigami.Units.gridUnit * 15 294 Layout.minimumWidth: Kirigami.Units.gridUnit * 19
293 height: toolbar.height 295 height: toolbar.height
294 296
295 placeholderText: "Search..." 297 placeholderText: "Search..."