diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-12-08 09:40:14 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-12-08 09:40:14 +0100 |
commit | 85420b00de2c465542bf129c5f444dab5ab9d741 (patch) | |
tree | 7e4ec8bb7f9b2f12652a66acb7e1f630bf2d2fc8 /components/mail/contents/ui/main.qml | |
parent | f3fe0d6d2c52604bf0dc077676f84f5bc87e600b (diff) | |
download | kube-85420b00de2c465542bf129c5f444dab5ab9d741.tar.gz kube-85420b00de2c465542bf129c5f444dab5ab9d741.zip |
make toolbar qqc2
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r-- | components/mail/contents/ui/main.qml | 10 |
1 files changed, 8 insertions, 2 deletions
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 { | |||
174 | //END Main content | 174 | //END Main content |
175 | 175 | ||
176 | //BEGIN Toolbar | 176 | //BEGIN Toolbar |
177 | ToolBar { | 177 | Controls2.ToolBar { |
178 | id: toolbar | 178 | id: toolbar |
179 | 179 | ||
180 | anchors { | 180 | anchors { |
@@ -249,10 +249,16 @@ Controls2.ApplicationWindow { | |||
249 | height: parent.height | 249 | height: parent.height |
250 | width: mailView.width | 250 | width: mailView.width |
251 | 251 | ||
252 | Item { | ||
253 | width: Kirigami.Units.smallSpacing | ||
254 | height: width | ||
255 | } | ||
256 | |||
252 | Controls2.Button { | 257 | Controls2.Button { |
253 | id: newMailButton | 258 | id: newMailButton |
254 | 259 | ||
255 | Layout.fillHeight: true | 260 | |
261 | height: toolbar.height | ||
256 | 262 | ||
257 | //iconName: "mail-message-new" | 263 | //iconName: "mail-message-new" |
258 | text: " " + "New Email" + " " | 264 | text: " " + "New Email" + " " |