From 78dfc93ba8219cbf3ab727b909a2a1d1e13707adf657f4ff170fe361e9b97e9b Mon Sep 17 00:00:00 2001 From: linuxero Date: Wed, 6 Nov 2024 17:13:28 +0100 Subject: [PATCH] Layout alignment and phoney start page --- gui/Dashboard.qml | 11 +++++------ gui/main.qml | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gui/Dashboard.qml b/gui/Dashboard.qml index b78908c..0c2e90b 100644 --- a/gui/Dashboard.qml +++ b/gui/Dashboard.qml @@ -4,12 +4,11 @@ import QtQuick.Layouts ColumnLayout { - Item + anchors.top: TopBar.bottom + Rectangle { - Component.onCompleted: - { - appLoader.source = "firststart.qml" - appLoader.window.title = "pyqcrm" - } + color: "blue" + Layout.fillHeight: true + Layout.fillWidth: true } } diff --git a/gui/main.qml b/gui/main.qml index 2abab12..1cf3ae3 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -20,7 +20,6 @@ ApplicationWindow { rightMargin: 9 leftMargin: 9 - } 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 }