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