summaryrefslogtreecommitdiffstats
path: root/qml/MainWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/MainWindow.qml')
-rw-r--r--qml/MainWindow.qml18
1 files changed, 11 insertions, 7 deletions
diff --git a/qml/MainWindow.qml b/qml/MainWindow.qml
index 7a83202..c2050da 100644
--- a/qml/MainWindow.qml
+++ b/qml/MainWindow.qml
@@ -175,7 +175,11 @@ Item {
opacity: 0;
visible: opacity > 0.1
- anchors.fill: parent
+ anchors.top: demoHeader.bottom
+ anchors.bottom: parent.bottom
+ anchors.left: parent.left
+ anchors.right: parent.right
+
asynchronous: true;
onStatusChanged: {
if (status == Loader.Error)
@@ -187,14 +191,14 @@ Item {
else if (applicationLoader.item.objectName !== "empty")
engine.state = "app-running";
}
-
- DemoHeader {
- id: demoHeader
- onInfoClicked: demoInfoPopup.open()
- onCloseClicked: root.closeApplication();
- }
}
+ DemoHeader {
+ id: demoHeader
+ visible: applicationLoader.visible
+ onInfoClicked: demoInfoPopup.open()
+ onCloseClicked: root.closeApplication();
+ }
Loader {
id: bootScreenLoader
visible: opacity > 0