summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-21 18:22:48 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-08-21 18:22:48 +0700
commit61a58a636459890640cc46a1aa0b83a9d43d9479 (patch)
tree8bafca62858924542019abc580977cba839a0e93
parent950b77e4207159f7607f5103f4d1c138136b9802 (diff)
Customize emailButton
-rw-r--r--LoginForm.ui.qml32
1 files changed, 22 insertions, 10 deletions
diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml
index a5fd76e..c8a1695 100644
--- a/LoginForm.ui.qml
+++ b/LoginForm.ui.qml
@@ -64,22 +64,34 @@ Rectangle {
Button {
id: emailButton
+ text: qsTr("Button")
x: 41
y: 516
height: 36
- text: qsTr("Continue with E-mail")
- flat: false
- font.weight: Font.Medium
- font.bold: false
- font.family: "Arial"
- padding: 8
- anchors.bottom: textArea.top
+
+ anchors.left: parent.left
+ anchors.leftMargin: 16
+ anchors.bottom: disclaimer.top
anchors.bottomMargin: 16
anchors.right: parent.right
anchors.rightMargin: 16
- font.pointSize: 14
- anchors.left: parent.left
- anchors.leftMargin: 16
+
+ contentItem: Text {
+ color: "#6d22e9"
+ font: control.font
+ text: "Continue with E-Mail"
+ font.pointSize: 14
+ font.family: "Google Sans"
+ horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
+ elide: Text.ElideRight
+ }
+ background: Rectangle {
+ color: "#fff"
+ border.color: "#6d22e9"
+ border.width: 1
+ radius: 6
+ }
}
Text {