Commit 0d7d5e36 authored by Nate Graham's avatar Nate Graham
Browse files

Correct vertical positioning for "nothing here" message

By moving it out of the content view, it no longer gets perfectly
centered within that view as it used to. So we have to adjust its
centering to restore this.
parent 9e441e96
Pipeline #159581 passed with stage
in 6 minutes and 54 seconds
......@@ -206,6 +206,7 @@ FocusScope {
// "Nothing here" placeholder message
Loader {
anchors.centerIn: parent
anchors.verticalCenterOffset: Math.round(navigationBar.height/2)
width: parent.width - (Kirigami.Units.largeSpacing * 4)
active: contentDirectoryView.count === 0 && !busyIndicatorLoader.active
visible: active && status == Loader.Ready
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment