From 0618f08a0ac4a6c0901eb95605b73d9293983eb1 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 29 Aug 2019 17:48:42 +0700 Subject: change backButton to RoundButton --- pages/PasswordForm.ui.qml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'pages/PasswordForm.ui.qml') diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index 4db67d1..01d8113 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -23,21 +23,15 @@ Rectangle { anchors.left: parent.left anchors.leftMargin: 0 - Button { + RoundButton { id: backButton + flat: true anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left - anchors.leftMargin: 8 display: AbstractButton.IconOnly icon.name: "back-icon" icon.source: "/assets/arrow-back-24px.svg" icon.color: "transparent" - - background: Rectangle { - opacity: enabled ? 1.0 : 0.3 - color: backButton.down ? "#ddd" : "#fff" - radius: 6 - } } } -- cgit v1.2.3