fix: improvements to drawer, auto show / hide on lower resolutions

This commit is contained in:
Joshua Strobl 2024-10-03 11:57:11 +03:00
parent adf12cb1fc
commit 3e575bb3d8
3 changed files with 97 additions and 83 deletions

View file

@ -6,15 +6,17 @@ import org.kde.kirigami as Kirigami
Kirigami.ApplicationWindow {
id: root
width: 1000
height: 600
visible: true
title: "Koto"
visible: true
width: 1000
globalDrawer: PrimaryNavigation {
windowRef: root
}
// TODO: Implement an onboarding page
pageStack.initialPage: PrimaryNavigation {
Component.onCompleted: {
pageStack.push(Qt.createComponent("HomePage.qml"), {});
}
pageStack.initialPage: HomePage {
}
}