Layout alignment and phoney start page with margins

This commit is contained in:
2024-11-06 17:22:22 +01:00
parent 78dfc93ba8
commit bbad3b5fcb
2 changed files with 6 additions and 1 deletions

View File

@@ -5,10 +5,12 @@ import QtQuick.Layouts
ColumnLayout ColumnLayout
{ {
anchors.top: TopBar.bottom anchors.top: TopBar.bottom
Rectangle Rectangle
{ {
color: "blue" color: "blue"
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
Layout.bottomMargin: 9
} }
} }

View File

@@ -31,7 +31,10 @@ import QtQuick.Layouts
flat: true flat: true
text: qsTr("Dashboard") text: qsTr("Dashboard")
implicitWidth: dashBoard.implicitContentWidth + 10 implicitWidth: dashBoard.implicitContentWidth + 10
onClicked:
{
appLoader.source = "Dashboard.qml"
}
} }