diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-08 16:10:17 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-08 16:10:17 +0800 |
commit | 40b2ea3c911f44ce9c41a4eec52c75c997f3b320 (patch) | |
tree | 69ecf85e28c36c16efdd5b8b02abb79e62d19116 | |
parent | 9e337deb0eadf7d73dab510d1c2fa8bc354279dd (diff) |
Fix sign in button
especially the colours
-rw-r--r-- | SignIn.ui.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SignIn.ui.qml b/SignIn.ui.qml index 2b5ed9a..f37f1a8 100644 --- a/SignIn.ui.qml +++ b/SignIn.ui.qml @@ -193,16 +193,16 @@ Flickable { linkColor: Qt.rgba(.0235, .416, .788, 1.0) } } + Button { id: button text: qsTr("Login") - font.pixelSize: 16 implicitHeight: 40 Layout.fillWidth: true contentItem: Text { color: "#ffffff" - text: "Login" + text: button.text horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter font { @@ -213,7 +213,7 @@ Flickable { } background: Rectangle { - color: button.down ? "#055aab" : "#066ac9" + color: button.down ? "#0555a1" : button.enabled ? "#066ac9" : "#a6066ac9" radius: 8 } } |