From 85420b00de2c465542bf129c5f444dab5ab9d741 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 8 Dec 2016 09:40:14 +0100 Subject: make toolbar qqc2 --- components/mail/contents/ui/main.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'components/mail/contents') diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index c2b60ab4..67bc2ce3 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml @@ -174,7 +174,7 @@ Controls2.ApplicationWindow { //END Main content //BEGIN Toolbar - ToolBar { + Controls2.ToolBar { id: toolbar anchors { @@ -249,10 +249,16 @@ Controls2.ApplicationWindow { height: parent.height width: mailView.width + Item { + width: Kirigami.Units.smallSpacing + height: width + } + Controls2.Button { id: newMailButton - Layout.fillHeight: true + + height: toolbar.height //iconName: "mail-message-new" text: " " + "New Email" + " " -- cgit v1.2.3