summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-22 10:22:07 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-22 10:22:07 +0700
commit58829270c908cb56165fd645c5f480f93d340b4a (patch)
tree7cfbceae87779e7926caec166c6e7e542e1e1855
parentd8dabb33bc0848eb2d51303ac0d970d81969d8a1 (diff)
add googleButton state
-rw-r--r--LoginForm.ui.qml3
1 files changed, 2 insertions, 1 deletions
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
}
}