summaryrefslogtreecommitdiff
path: root/Home.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 16:14:55 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-20 16:14:55 +0700
commite8af71c340af5429ec57fe07d986a38914986b3e (patch)
tree618978c2b4a2f8c1bc02eab87aa2305a473087f6 /Home.qml
parent5a2631d79d3939bf1ca378acd8429b768873e59b (diff)
add `Profile`
Diffstat (limited to 'Home.qml')
-rw-r--r--Home.qml20
1 files changed, 10 insertions, 10 deletions
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")
+ }
}
}
}