import QtQuick 2.5 import QtQuick.Window 2.2 import QtQuick.Controls 1.2 Window { id: window color: "green" visible: true width: 640 height: 960 Column { spacing: 15 anchors { top: parent.top left: parent.left right: parent.right margins: 15 } TextField { anchors { left: parent.left right: parent.right } textColor: "black" } TextInput { anchors { left: parent.left right: parent.right } color: "black" Rectangle { anchors.fill: parent color: "red" z:-1 } } } }