Layout alignment and phoney start page

This commit is contained in:
2024-11-06 17:13:28 +01:00
parent 1907485152
commit 78dfc93ba8
2 changed files with 6 additions and 8 deletions

View File

@@ -4,12 +4,11 @@ import QtQuick.Layouts
ColumnLayout ColumnLayout
{ {
Item anchors.top: TopBar.bottom
Rectangle
{ {
Component.onCompleted: color: "blue"
{ Layout.fillHeight: true
appLoader.source = "firststart.qml" Layout.fillWidth: true
appLoader.window.title = "pyqcrm"
}
} }
} }

View File

@@ -20,7 +20,6 @@ ApplicationWindow
{ {
rightMargin: 9 rightMargin: 9
leftMargin: 9 leftMargin: 9
} }
visible: bad_config? false: true visible: bad_config? false: true
@@ -44,7 +43,7 @@ ApplicationWindow
} }
source: bad_config? "firststart.qml": "test.qml" source: bad_config? "firststart.qml": "Dashboard.qml"
property alias window: appWindow property alias window: appWindow
} }