diff --git a/gui/Dashboard.qml b/gui/Dashboard.qml index 0c2e90b..f633c1e 100644 --- a/gui/Dashboard.qml +++ b/gui/Dashboard.qml @@ -5,10 +5,12 @@ import QtQuick.Layouts ColumnLayout { anchors.top: TopBar.bottom + Rectangle { color: "blue" Layout.fillHeight: true Layout.fillWidth: true + Layout.bottomMargin: 9 } } diff --git a/gui/TopBar.qml b/gui/TopBar.qml index 02861d8..970affa 100644 --- a/gui/TopBar.qml +++ b/gui/TopBar.qml @@ -31,7 +31,10 @@ import QtQuick.Layouts flat: true text: qsTr("Dashboard") implicitWidth: dashBoard.implicitContentWidth + 10 - + onClicked: + { + appLoader.source = "Dashboard.qml" + } }