From eeacda8d7edf463738d4527c377bc44e869a02c6 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 29 Aug 2019 17:49:15 +0700 Subject: change backButton to RoundButton --- pages/EmailForm.ui.qml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pages/EmailForm.ui.qml b/pages/EmailForm.ui.qml index e0e806e..b63e103 100644 --- a/pages/EmailForm.ui.qml +++ b/pages/EmailForm.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 - } } } Label { -- cgit v1.2.3