summaryrefslogtreecommitdiff
path: root/pages/CreateProfileForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/CreateProfileForm.ui.qml')
-rw-r--r--pages/CreateProfileForm.ui.qml112
1 files changed, 79 insertions, 33 deletions
diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml
index 76f0da9..45087e1 100644
--- a/pages/CreateProfileForm.ui.qml
+++ b/pages/CreateProfileForm.ui.qml
@@ -61,44 +61,92 @@ Rectangle {
}
}
}
- Rectangle {
+ RowLayout {
id: userEmail
- height: 48
- anchors.top: profilePicture.bottom
- anchors.topMargin: 16
- anchors.right: parent.right
- anchors.rightMargin: 16
- anchors.left: parent.left
- anchors.leftMargin: 16
+ height: 56
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.top: usernameRowLayout.bottom
+ width: parent.width
+ spacing: 8
+
+ Image {
+ width: 24
+ height: 24
+ Layout.leftMargin: 16
+ Layout.alignment: Qt.AlignVCenter
+ fillMode: Image.PreserveAspectFit
+ source: "../assets/email-24px.svg"
+ antialiasing: true
+ }
Label {
id: emailAddressLabel
- anchors.right: parent.right
- anchors.rightMargin: 16
- anchors.left: parent.left
- anchors.leftMargin: 16
- anchors.verticalCenter: parent.verticalCenter
-
+ Layout.fillWidth: true
text: qsTr("your@email.com")
+ Layout.rightMargin: 16
+ Layout.leftMargin: 24
+ verticalAlignment: Text.AlignVCenter
font.family: "Google Sans"
font.pointSize: 16
color: "#99000000"
}
}
+ RowLayout {
+ id: fullnameRowLayout
+ height: 56
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.top: profilePicture.bottom
+ anchors.topMargin: 32
+ width: parent.width
+ Image {
+ width: 24
+ height: 24
+ Layout.leftMargin: 16
+ Layout.alignment: Qt.AlignVCenter
+ fillMode: Image.PreserveAspectFit
+ source: "../assets/profile-24px.svg"
+ antialiasing: true
+ }
- TextField {
- id: enterFullName
- anchors.top: userEmail.bottom
+ TextField {
+ id: enterFullName
+ Layout.rightMargin: 16
+ Layout.leftMargin: 24
+ font.pointSize: 16
+ font.family: "Google Sans"
+ Layout.fillWidth: true
+ placeholderText: qsTr("Full name")
+ Layout.alignment: Qt.AlignVCenter
+ }
+ }
+ RowLayout {
+ id: usernameRowLayout
+ height: 56
+ anchors.horizontalCenter: parent.horizontalCenter
+ width: parent.width
+ Layout.alignment: Qt.AlignVCenter
+ anchors.top: fullnameRowLayout.bottom
anchors.topMargin: 16
- font.pointSize: 16
- font.family: "Google Sans"
- Layout.fillWidth: true
- placeholderText: qsTr("Full name")
- anchors.right: parent.right
- anchors.rightMargin: 16
- anchors.left: parent.left
- anchors.leftMargin: 16
- Layout.maximumHeight: 56
+
+ Image {
+ width: 24
+ height: 24
+ Layout.leftMargin: 16
+ Layout.alignment: Qt.AlignVCenter
+ fillMode: Image.PreserveAspectFit
+ source: "../assets/user-24px.svg"
+ antialiasing: true
+ }
+
+ TextField {
+ Layout.rightMargin: 16
+ Layout.leftMargin: 24
+ font.pointSize: 16
+ font.family: "Google Sans"
+ Layout.fillWidth: true
+ placeholderText: qsTr("Username")
+ Layout.alignment: Qt.AlignVCenter
+ }
}
RoundButton {
@@ -141,11 +189,9 @@ Rectangle {
}
}
-
-
-
-/*##^## Designer {
- D{i:0;autoSize:true;height:480;width:640}D{i:1;anchors_width:640}D{i:7;anchors_height:48;anchors_y:143}
-D{i:9;anchors_y:322}D{i:11;anchors_y:54}
+/*##^##
+Designer {
+ D{i:0;autoSize:true;height:480;width:640}D{i:1;anchors_width:640}
}
- ##^##*/
+##^##*/
+