summaryrefslogtreecommitdiffstats
path: root/components/mail/contents/ui
diff options
context:
space:
mode:
Diffstat (limited to 'components/mail/contents/ui')
-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 {