summaryrefslogtreecommitdiffstats
path: root/components/mail/contents
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-01-19 20:05:22 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-01-19 20:05:22 +0100
commit757258042f1b41fe1ea1b4c77994173ac11e2e5c (patch)
tree5fcd08984178e2b49b79d83cc89330de39f293a0 /components/mail/contents
parentdd3c49a253e02add4bcdc8956273085540239969 (diff)
downloadkube-757258042f1b41fe1ea1b4c77994173ac11e2e5c.tar.gz
kube-757258042f1b41fe1ea1b4c77994173ac11e2e5c.zip
some account switcher changes. needs visual brushup
Diffstat (limited to 'components/mail/contents')
-rw-r--r--components/mail/contents/ui/main.qml25
1 files changed, 14 insertions, 11 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml
index c79a656b..8190d59b 100644
--- a/components/mail/contents/ui/main.qml
+++ b/components/mail/contents/ui/main.qml
@@ -185,13 +185,25 @@ Controls2.ApplicationWindow {
185 } 185 }
186 } 186 }
187 187
188 KubeComponents.AccountSwitcher {
189 id: accountSwitcher
190
191 anchors {
192 top: newMailButton.bottom
193 topMargin: Kirigami.Units.smallSpacing
194 }
195
196 width: parent.width
197 height: Kirigami.Units.gridUnit * 2
198 }
199
188 KubeComponents.FolderListView { 200 KubeComponents.FolderListView {
189 id: folderListView 201 id: folderListView
190 202
191 anchors { 203 anchors {
192 top: newMailButton.bottom 204 top: accountSwitcher.bottom
193 topMargin: Kirigami.Units.smallSpacing 205 topMargin: Kirigami.Units.smallSpacing
194 bottom: accountSwitcher.top 206 bottom: parent.bottom
195 left: parent.left 207 left: parent.left
196 right: parent.right 208 right: parent.right
197 } 209 }
@@ -199,15 +211,6 @@ Controls2.ApplicationWindow {
199 focus: true 211 focus: true
200 accountId: accountSwitcher.accountId 212 accountId: accountSwitcher.accountId
201 } 213 }
202
203 KubeComponents.AccountSwitcher {
204 id: accountSwitcher
205
206 anchors.bottom: parent.bottom
207
208 width: parent.width
209 height: Kirigami.Units.gridUnit * 2
210 }
211 } 214 }
212 215
213 KubeComponents.MailListView { 216 KubeComponents.MailListView {