From 757258042f1b41fe1ea1b4c77994173ac11e2e5c Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 19 Jan 2017 20:05:22 +0100 Subject: some account switcher changes. needs visual brushup --- components/mail/contents/ui/main.qml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'components/mail/contents/ui') 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 { } } + KubeComponents.AccountSwitcher { + id: accountSwitcher + + anchors { + top: newMailButton.bottom + topMargin: Kirigami.Units.smallSpacing + } + + width: parent.width + height: Kirigami.Units.gridUnit * 2 + } + KubeComponents.FolderListView { id: folderListView anchors { - top: newMailButton.bottom + top: accountSwitcher.bottom topMargin: Kirigami.Units.smallSpacing - bottom: accountSwitcher.top + bottom: parent.bottom left: parent.left right: parent.right } @@ -199,15 +211,6 @@ Controls2.ApplicationWindow { focus: true accountId: accountSwitcher.accountId } - - KubeComponents.AccountSwitcher { - id: accountSwitcher - - anchors.bottom: parent.bottom - - width: parent.width - height: Kirigami.Units.gridUnit * 2 - } } KubeComponents.MailListView { -- cgit v1.2.3