diff options
| -rw-r--r-- | main.qml | 7 | ||||
| -rw-r--r-- | pages/Home.qml | 6 | 
2 files changed, 12 insertions, 1 deletions
| @@ -11,11 +11,16 @@ ApplicationWindow {      Material.accent: Material.DeepPurple +    Drawer { +        id: drawer +        width: 0.8 * appWindow.width +        height: appWindow.height +    } +      StackView {          id: stackView          anchors.fill : parent          initialItem: Login {}      } -  } diff --git a/pages/Home.qml b/pages/Home.qml index 1cce621..7116a43 100644 --- a/pages/Home.qml +++ b/pages/Home.qml @@ -4,4 +4,10 @@ import id.co.darapsa.kelakon.user 0.1  HomeForm {      width: stackView.width      height: stackView.height + +    menuButton { +        onClicked: { +            drawer.visible = !drawer.visible +        } +    }  } |