summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LoginForm.ui.qml30
1 files changed, 15 insertions, 15 deletions
diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml
index beb72a0..36d2d2f 100644
--- a/LoginForm.ui.qml
+++ b/LoginForm.ui.qml
@@ -10,7 +10,7 @@ Rectangle {
property alias googleButton: googleButton
property alias emailButton: emailButton
- RowLayout {
+ ColumnLayout {
anchors.right: parent.right
anchors.rightMargin: 16
anchors.left: parent.left
@@ -20,14 +20,14 @@ Rectangle {
spacing: 16
Button {
- id: emailButton
- text: qsTr("Continue with E-Mail")
+ id: googleButton
+ text: qsTr("Continue with Google")
height: 36
Layout.fillWidth: true
contentItem: Text {
- text: emailButton.text
- color: "#6d22e9"
+ text: googleButton.text
+ color: "#FFF"
font.pointSize: 14
font.family: "Google Sans"
horizontalAlignment: Text.AlignHCenter
@@ -35,23 +35,21 @@ Rectangle {
elide: Text.ElideRight
}
background: Rectangle {
- opacity: enabled ? 0.3 : 1
- color: emailButton.down ? "#6d22e9" : "#ffffff"
- border.color: "#6d22e9"
- border.width: 1
+ opacity: enabled ? 1.0 : 0.3
+ color: googleButton.down ? "#6d22e9" : "#4F12DA"
radius: 6
}
}
Button {
- id: googleButton
- text: qsTr("Continue with Google")
+ id: emailButton
+ text: qsTr("Continue with E-Mail")
height: 36
Layout.fillWidth: true
contentItem: Text {
- text: googleButton.text
- color: "#FFF"
+ text: emailButton.text
+ color: "#6d22e9"
font.pointSize: 14
font.family: "Google Sans"
horizontalAlignment: Text.AlignHCenter
@@ -59,8 +57,10 @@ Rectangle {
elide: Text.ElideRight
}
background: Rectangle {
- opacity: enabled ? 1.0 : 0.3
- color: googleButton.down ? "#6d22e9" : "#4F12DA"
+ opacity: enabled ? 0.3 : 1
+ color: emailButton.down ? "#6d22e9" : "#ffffff"
+ border.color: "#6d22e9"
+ border.width: 1
radius: 6
}
}