import QtQuick import QtQuick.Window import QtQuick.Controls import QtQuick.Layouts Window { height: 480 title: "Login" visible: true width: 640 color: active ColumnLayout { anchors.centerIn: parent spacing: 16 width: parent.width * 0.6 TextField { id: login Layout.fillWidth: true } TextField { id: password Layout.fillWidth: true echoMode: TextInput.Password } Button { Layout.fillWidth: true text: "Log In" } } }