From 79af56259294efc4bd10d87db803053ee883fd18 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 21 Aug 2019 20:58:46 +0700 Subject: fixed button text --- LoginForm.ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LoginForm.ui.qml') diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml index a796409..cea4a9d 100644 --- a/LoginForm.ui.qml +++ b/LoginForm.ui.qml @@ -35,7 +35,7 @@ Rectangle { Button { id: googleButton - text: qsTr("Button") + text: qsTr("Continue with Button") y: 419 height: 36 -- cgit v1.2.3 From e43a7ada88dff8cb3e3b16152fe5c78c6edfbe0a Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 21 Aug 2019 20:59:37 +0700 Subject: fixed button text and remove unecessary lines --- LoginForm.ui.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'LoginForm.ui.qml') diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml index cea4a9d..afa73e8 100644 --- a/LoginForm.ui.qml +++ b/LoginForm.ui.qml @@ -47,9 +47,8 @@ Rectangle { anchors.bottom: emailButton.top contentItem: Text { + text: googleButton.text color: "#FFF" - font: control.font - text: "Continue with Google" font.pointSize: 14 font.family: "Google Sans" horizontalAlignment: Text.AlignHCenter @@ -64,7 +63,7 @@ Rectangle { Button { id: emailButton - text: qsTr("Button") + text: qsTr("Continue with E-Mail") x: 41 y: 516 height: 36 @@ -77,9 +76,8 @@ Rectangle { anchors.rightMargin: 16 contentItem: Text { + text: emailButton.text color: "#6d22e9" - font: control.font - text: "Continue with E-Mail" font.pointSize: 14 font.family: "Google Sans" horizontalAlignment: Text.AlignHCenter -- cgit v1.2.3 From d8dabb33bc0848eb2d51303ac0d970d81969d8a1 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 21 Aug 2019 21:12:39 +0700 Subject: remove label, replace with logotext image --- LoginForm.ui.qml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'LoginForm.ui.qml') diff --git a/LoginForm.ui.qml b/LoginForm.ui.qml index afa73e8..c584d3e 100644 --- a/LoginForm.ui.qml +++ b/LoginForm.ui.qml @@ -10,20 +10,6 @@ Rectangle { property alias googleButton: googleButton property alias emailButton: emailButton - Label { - text: qsTr("kelakon") - font.family: "Google Sans" - font.pointSize: 24 - color: "#000000" - - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - anchors.top: parent.top - anchors.topMargin: 16 - anchors.horizontalCenterOffset: 0 - anchors.horizontalCenter: parent.horizontalCenter - } - RowLayout { x: 34 y: 419 @@ -110,12 +96,24 @@ Rectangle { wrapMode: Text.WordWrap font.pixelSize: 12 } + + Image { + id: logotext + x: 139 + width: 100 + height: 24 + anchors.horizontalCenter: parent.horizontalCenter + anchors.top: parent.top + anchors.topMargin: 16 + fillMode: Image.PreserveAspectFit + source: "kelakon-logo.png" + } } /*##^## Designer { - D{i:1;anchors_x:124;anchors_y:158} + D{i:9;anchors_width:100;anchors_x:139;anchors_y:93} } ##^##*/ -- cgit v1.2.3