From 58829270c908cb56165fd645c5f480f93d340b4a Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 22 Aug 2019 10:22:07 +0700 Subject: add googleButton state --- LoginForm.ui.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml index c584d3e..d70a1f2 100644 --- a/LoginForm.ui.qml +++ b/LoginForm.ui.qml @@ -42,7 +42,8 @@ Rectangle { elide: Text.ElideRight } background: Rectangle { - color: "#6d22e9" + opacity: enabled ? 1.0 : 0.3 + color: googleButton.down ? "#6d22e9" : "#4F12DA" radius: 6 } } -- cgit v1.2.3