diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/contents/ui/MailView.qml | 16 |
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 | } |