From 40b2ea3c911f44ce9c41a4eec52c75c997f3b320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 8 Mar 2023 16:10:17 +0800 Subject: Fix sign in button especially the colours --- SignIn.ui.qml | 6 +++--- 1 file 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 } } -- cgit v1.2.3