diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-29 17:48:42 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-29 17:48:42 +0700 |
commit | 0618f08a0ac4a6c0901eb95605b73d9293983eb1 (patch) | |
tree | 2053c7ce10009c7da7fb3fc58c01c91dc7285b59 /pages/PasswordForm.ui.qml | |
parent | 35e911c0b0c54f3f2fd021435201a97fca4e7f58 (diff) |
change backButton to RoundButton
Diffstat (limited to 'pages/PasswordForm.ui.qml')
-rw-r--r-- | pages/PasswordForm.ui.qml | 10 |
1 files changed, 2 insertions, 8 deletions
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 - } } } |