summaryrefslogtreecommitdiff
path: root/pages/UsernameForm.ui.qml
blob: 3771959833f5726751c10a24944087e28b893b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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")
    }
}