summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-16 23:24:18 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-16 23:24:18 +0700
commitbd7789f6e46c0a912c164bb1da2e7c86ba04c756 (patch)
tree9a91466b3684a51553d4ac7237bf8dea2fee1513
parent8a17eb1f812abe26b74f20badd462fc69846e226 (diff)
some clean up & tidy up
-rw-r--r--pages/CreateProfileForm.ui.qml9
1 files 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
}
}