From 9594d734d36c159b0d392e1e8c4f26663418aac8 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sun, 4 Dec 2016 12:04:31 +0100 Subject: start porting main.qml to qqc2 --- components/mail/contents/ui/main.qml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'components') 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 { height: parent.height width: mailView.width - Button { + Controls2.Button { id: newMailButton + Layout.fillHeight: true + //iconName: "mail-message-new" - text: "New Email" - tooltip: "compose new email" + text: " New Email " + //Controls2.Tooltip.text: "compose new email" onClicked: { composer.open() } @@ -286,10 +288,10 @@ Controls2.ApplicationWindow { Layout.fillWidth: true } - TextField { + Controls2.TextField { id: searchBar - Layout.minimumWidth: Kirigami.Units.gridUnit * 15 + Layout.minimumWidth: Kirigami.Units.gridUnit * 19 height: toolbar.height placeholderText: "Search..." -- cgit v1.2.3