From 76a3721c870e2073824bbd9935c9f5f5740b51a1 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Tue, 31 Jan 2023 18:17:10 +0700 Subject: finalize button content --- SignInFlickable.ui.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml index 0e67a23..1235e74 100644 --- a/SignInFlickable.ui.qml +++ b/SignInFlickable.ui.qml @@ -91,6 +91,21 @@ GridLayout { text: qsTr("Login") font.pixelSize: 15 Layout.fillWidth: true + + contentItem: Text { + color: "#ffffff" + text: "Login" + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.weight: Font.Medium + font.family: "Roboto" + font.pointSize: 14 + } + + background: Rectangle { + color: button.down ? "#055aab" : "#066ac9" + radius: 8 + } } } -- cgit v1.2.3