summaryrefslogtreecommitdiff
path: root/pages/UsernameForm.ui.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-15 14:44:38 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2019-09-15 14:44:38 +0700
commit273684416acefe8bfd803c4d3541b34d929ee2c1 (patch)
treeab6572bb133a69c185591d55c79678d7efd9ae41 /pages/UsernameForm.ui.qml
parente92c75d5f89af5f23d28eeb4605ed8be9b2075c2 (diff)
username text form
Diffstat (limited to 'pages/UsernameForm.ui.qml')
-rw-r--r--pages/UsernameForm.ui.qml35
1 files changed, 35 insertions, 0 deletions
diff --git a/pages/UsernameForm.ui.qml b/pages/UsernameForm.ui.qml
new file mode 100644
index 0000000..3771959
--- /dev/null
+++ b/pages/UsernameForm.ui.qml
@@ -0,0 +1,35 @@
+import QtQuick 2.12
+import QtQuick.Controls 2.12
+import QtQuick.Layouts 1.12
+
+RowLayout {
+
+ id: userName
+ width: fillWidth
+ height: 54
+ anchors.topMargin: 8
+ anchors.right: parent.right
+ anchors.rightMargin: 0
+ anchors.left: parent.left
+ anchors.leftMargin: 0
+ spacing: 16
+
+ Image {
+ id: icon
+ width: 24
+ height: 24
+ Layout.leftMargin: 16
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
+ fillMode: Image.PreserveAspectFit
+ source: "../assets/user-24px.svg"
+ }
+
+ TextField {
+ id: textField
+ Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
+ font.pointSize: 16
+ font.family: "Google Sans"
+ Layout.fillWidth: true
+ placeholderText: qsTr("Username")
+ }
+}