From e8af71c340af5429ec57fe07d986a38914986b3e Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Fri, 20 Sep 2019 16:14:55 +0700 Subject: add `Profile` --- Home.qml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Home.qml') diff --git a/Home.qml b/Home.qml index af00c24..d5db6b1 100644 --- a/Home.qml +++ b/Home.qml @@ -14,16 +14,8 @@ Page { spacing: 0 ToolButton { id: menuButton - Layout.rightMargin: 0 - Layout.preferredHeight: -1 - Layout.preferredWidth: -1 - padding: 0 - rightPadding: 0 - leftPadding: 0 - bottomPadding: 0 - topPadding: 0 icon.name: "menu-button" - icon.source: "larva/components/icons/menu-24px.svg" + icon.source: "assets/menu-24px.svg" highlighted: true onClicked: { drawer.open() @@ -40,7 +32,15 @@ Page { font.pointSize: 20 color: "#000000" Layout.fillWidth: true - + } + ToolButton { + id: profileButton + icon.name: "profile-button" + icon.source: "assets/profile-24px.svg" + highlighted: true + onClicked: { + pageView.push("Profile.qml") + } } } } -- cgit v1.2.3