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(-) 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(-) 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 1338b665026ef4238635e0e57a79fde4abdd9927 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 21 Aug 2019 21:11:05 +0700 Subject: add 'kelakon-logo.png' to resources --- kelakon-logo.png | Bin 0 -> 9235 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 kelakon-logo.png diff --git a/kelakon-logo.png b/kelakon-logo.png new file mode 100644 index 0000000..5ce2065 Binary files /dev/null and b/kelakon-logo.png differ -- cgit v1.2.3 From 28d3c49c9c780566d711b8c7dda13a91f5342e6a Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 21 Aug 2019 21:11:50 +0700 Subject: add kelakon-logo.png to qrc --- kelakon.qrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kelakon.qrc b/kelakon.qrc index a2a6866..cbd3e07 100644 --- a/kelakon.qrc +++ b/kelakon.qrc @@ -1,7 +1,8 @@ - - main.qml - Login.qml - LoginForm.ui.qml - + + main.qml + Login.qml + LoginForm.ui.qml + kelakon-logo.png + -- 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(-) 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