summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-20 12:33:58 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-20 12:33:58 +0200
commit433bdc462fcd8fd8fd6737b37b4a2f8c4fcde0ac (patch)
tree44af0242a1fd4343b8a59970459f16d95bd1fa52 /components
parentbe511a719851c14c5ea5c1479ed2d814fbd3a8e6 (diff)
downloadkube-433bdc462fcd8fd8fd6737b37b4a2f8c4fcde0ac.tar.gz
kube-433bdc462fcd8fd8fd6737b37b4a2f8c4fcde0ac.zip
Dont refrence outside root in statusbar
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/MailView.qml16
1 files changed, 8 insertions, 8 deletions
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 {
57 anchors { 57 anchors {
58 top: newMailButton.bottom 58 top: newMailButton.bottom
59 topMargin: Kube.Units.largeSpacing 59 topMargin: Kube.Units.largeSpacing
60 bottom: statusBar.top 60 bottom: statusBarContainer.top
61 left: newMailButton.left 61 left: newMailButton.left
62 right: parent.right 62 right: parent.right
63 } 63 }
64 } 64 }
65 65
66 Item { 66 Item {
67 id: statusBar 67 id: statusBarContainer
68 anchors { 68 anchors {
69 topMargin: Kube.Units.smallSpacing 69 topMargin: Kube.Units.smallSpacing
70 bottom: parent.bottom 70 bottom: parent.bottom
71 left: parent.left 71 left: parent.left
72 right: parent.right 72 right: parent.right
73 } 73 }
74 visible: false 74 height: childrenRect.height
75
76 height: Kube.Units.gridUnit * 2
77 75
78 Rectangle { 76 Rectangle {
79 id: border 77 id: border
78 visible: statusBar.visible
80 anchors { 79 anchors {
81 right: parent.right 80 right: parent.right
82 left: parent.left 81 left: parent.left
@@ -87,12 +86,13 @@ SplitView {
87 opacity: 0.3 86 opacity: 0.3
88 } 87 }
89 Kube.StatusBar { 88 Kube.StatusBar {
89 id: statusBar
90 accountId: accountFolderview.currentAccount 90 accountId: accountFolderview.currentAccount
91 height: Kube.Units.gridUnit * 2
91 anchors { 92 anchors {
92 top: border.bottom 93 top: border.bottom
93 left: statusBar.left 94 left: statusBarContainer.left
94 right: statusBar.right 95 right: statusBarContainer.right
95 bottom: statusBar.bottom
96 } 96 }
97 } 97 }
98 } 98 }