summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-05-13 16:31:09 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-05-13 16:31:09 +0200
commit8e2e36847b7fd6d4f8a2a1a7f3086d4de97de664 (patch)
tree8a7d44cfd42b56f7bbe90af767931a3c3e18a0da
parentbf1c1d8398dd1ea6d37db7f2a7fa5c3c4dd1ea12 (diff)
downloadkube-8e2e36847b7fd6d4f8a2a1a7f3086d4de97de664.tar.gz
kube-8e2e36847b7fd6d4f8a2a1a7f3086d4de97de664.zip
use qqc toolbar instead of rectangle
-rw-r--r--components/mail/contents/ui/main.qml16
1 files changed, 5 insertions, 11 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml
index 8d7047ab..b8425adc 100644
--- a/components/mail/contents/ui/main.qml
+++ b/components/mail/contents/ui/main.qml
@@ -79,22 +79,16 @@ ApplicationWindow {
79 context: folderListContext 79 context: folderListContext
80 } 80 }
81 81
82 Item { 82 ToolBar {
83 id: toolbar 83 id: toolbar
84 anchors { 84 anchors {
85 top: app.top 85 top: app.top
86 left: app.left 86 left: app.left
87 right: app.right
87 } 88 }
88 89
89 height: Kirigami.Units.iconSizes.medium 90 height: Kirigami.Units.iconSizes.medium
90 width: app.width 91 //width: app.width
91
92 Rectangle {
93 anchors.bottom: parent.bottom
94 width: parent.width
95 height: 1
96 color: "grey"
97 }
98 92
99 Row { 93 Row {
100 anchors.fill: parent 94 anchors.fill: parent
@@ -103,7 +97,7 @@ ApplicationWindow {
103 97
104 RowLayout { 98 RowLayout {
105 height: parent.height 99 height: parent.height
106 width: folderListView.width 100 width: folderListView.width - 5 //to adjust for the toolbar spacing
107 clip: true 101 clip: true
108 102
109 KubeComponents.AccountSwitcher { 103 KubeComponents.AccountSwitcher {
@@ -165,7 +159,7 @@ ApplicationWindow {
165 159
166 RowLayout{ 160 RowLayout{
167 height: parent.height 161 height: parent.height
168 width: mailView.width 162 width: mailView.width - 5 //to adjust for the toolbar spacing
169 clip: true 163 clip: true
170 164
171 Component { 165 Component {