From 433bdc462fcd8fd8fd6737b37b4a2f8c4fcde0ac Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 20 May 2017 12:33:58 +0200 Subject: Dont refrence outside root in statusbar --- components/kube/contents/ui/MailView.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'components') diff --git a/components/kube/contents/ui/MailView.qml b/components/kube/contents/ui/MailView.qml index da96bd28..23d09b1f 100644 --- a/components/kube/contents/ui/MailView.qml +++ b/components/kube/contents/ui/MailView.qml @@ -57,26 +57,25 @@ SplitView { anchors { top: newMailButton.bottom topMargin: Kube.Units.largeSpacing - bottom: statusBar.top + bottom: statusBarContainer.top left: newMailButton.left right: parent.right } } Item { - id: statusBar + id: statusBarContainer anchors { topMargin: Kube.Units.smallSpacing bottom: parent.bottom left: parent.left right: parent.right } - visible: false - - height: Kube.Units.gridUnit * 2 + height: childrenRect.height Rectangle { id: border + visible: statusBar.visible anchors { right: parent.right left: parent.left @@ -87,12 +86,13 @@ SplitView { opacity: 0.3 } Kube.StatusBar { + id: statusBar accountId: accountFolderview.currentAccount + height: Kube.Units.gridUnit * 2 anchors { top: border.bottom - left: statusBar.left - right: statusBar.right - bottom: statusBar.bottom + left: statusBarContainer.left + right: statusBarContainer.right } } } -- cgit v1.2.3