summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anata@darapsa.co.id>2020-12-06 00:19:29 +0700
committerAnatasof Wirapraja <anata@darapsa.co.id>2020-12-06 00:19:29 +0700
commitbf635def9dadee8a4aff8f90d8f419b02286cf9c (patch)
treedbfc31af5ac1248d3c42411ecdc9f27ac51d4991
parentc0c1c106669c25c669bdbe9cdfd0233fdd573b78 (diff)
add back button
-rw-r--r--pages/GetStarted.qml2
-rw-r--r--pages/GetStartedForm.ui.qml5
2 files changed, 6 insertions, 1 deletions
diff --git a/pages/GetStarted.qml b/pages/GetStarted.qml
index b4744dd..b303de5 100644
--- a/pages/GetStarted.qml
+++ b/pages/GetStarted.qml
@@ -1,4 +1,6 @@
import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.12
GetStartedForm {
objectName: "getstarted"
diff --git a/pages/GetStartedForm.ui.qml b/pages/GetStartedForm.ui.qml
index 7cff151..8132864 100644
--- a/pages/GetStartedForm.ui.qml
+++ b/pages/GetStartedForm.ui.qml
@@ -7,12 +7,15 @@ Page {
property alias backButton: backButton
header: ToolBar {
background: Rectangle {
- color: "#FAFFFFFF"
+ color: "transparent"
}
RowLayout {
ToolButton {
id: backButton
+ display: AbstractButton.IconOnly
highlighted: true
+ icon.name: "back-button"
+ icon.source: "../icons/arrow-back-24px.svg"
}
}
}