From bd7789f6e46c0a912c164bb1da2e7c86ba04c756 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Mon, 16 Sep 2019 23:24:18 +0700 Subject: some clean up & tidy up --- pages/CreateProfileForm.ui.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml index d63e9ee..f4f7cb6 100644 --- a/pages/CreateProfileForm.ui.qml +++ b/pages/CreateProfileForm.ui.qml @@ -65,6 +65,7 @@ Rectangle { RowLayout { id: userEmail height: 56 + anchors.topMargin: 16 anchors.horizontalCenter: parent.horizontalCenter anchors.top: usernameRowLayout.bottom width: parent.width @@ -83,7 +84,7 @@ Rectangle { Label { id: emailAddressLabel Layout.fillWidth: true - text: qsTr("your@email.com") + text: qsTr("Your@email.com") Layout.rightMargin: 16 Layout.leftMargin: 24 verticalAlignment: Text.AlignVCenter @@ -122,9 +123,9 @@ Rectangle { } RowLayout { id: usernameRowLayout - height: 56 anchors.horizontalCenter: parent.horizontalCenter width: parent.width + height: 56 Layout.alignment: Qt.AlignVCenter anchors.top: fullnameRowLayout.bottom anchors.topMargin: 16 @@ -140,14 +141,14 @@ Rectangle { } TextField { - id: userNameLabel + id: userNameLabel + Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.rightMargin: 16 Layout.leftMargin: 24 font.pointSize: 16 font.family: "Google Sans" Layout.fillWidth: true placeholderText: qsTr("Username") - Layout.alignment: Qt.AlignVCenter } } -- cgit v1.2.3