import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 GridLayout { ColumnLayout { ColumnLayout { Label { text: qsTr("Email address *") } RowLayout { Image { id: envelope source: "Bootstrap/icons/envelope-fill.svg" } TextField { placeholderText: qsTr("E-mail") Layout.fillWidth: true } } } ColumnLayout { Label { text: qsTr("Password *") } RowLayout { Image { source: "Font-Awesome/svgs/solid/lock.svg" sourceSize { width: envelope.height height: envelope.height } } TextField { placeholderText: qsTr("password") Layout.fillWidth: true } } } } }