summaryrefslogtreecommitdiff
path: root/features/UsernameForm.ui.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 22:05:01 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 22:05:01 +0800
commite5d1cb6db260c71e2205c4f65d383628bb518f5e (patch)
tree00212ed61a0bdb79985d8bf7196461ba026cd9e2 /features/UsernameForm.ui.qml
parent372de3c1c8fb8d7be23713d51c1d4c926b7fcb10 (diff)
All forms and icons are moved here
Diffstat (limited to 'features/UsernameForm.ui.qml')
-rw-r--r--features/UsernameForm.ui.qml35
1 files changed, 35 insertions, 0 deletions
diff --git a/features/UsernameForm.ui.qml b/features/UsernameForm.ui.qml
new file mode 100644
index 0000000..5412533
--- /dev/null
+++ b/features/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: "/components/icons/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")
+ }
+}