diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 16:14:55 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-20 16:14:55 +0700 |
commit | e8af71c340af5429ec57fe07d986a38914986b3e (patch) | |
tree | 618978c2b4a2f8c1bc02eab87aa2305a473087f6 /Home.qml | |
parent | 5a2631d79d3939bf1ca378acd8429b768873e59b (diff) |
add `Profile`
Diffstat (limited to 'Home.qml')
-rw-r--r-- | Home.qml | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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") + } } } } |