import QtQuick import QtQuick.Controls import QtQuick.Layouts ApplicationWindow { title: "Test" visible: true Frame { id: infoFrame anchors.fill: parent contentItem: ColumnLayout { // Empty item fixes broken fillHeight: true // Item { // visible: false // } RowLayout { Layout.fillWidth: true Layout.fillHeight: false TextField { Layout.preferredWidth: 50 Layout.minimumWidth: 50 maximumLength: 5 } Item { Layout.fillWidth: true } Button { Layout.preferredWidth: 32 text: "x" visible: infoFrame.activeFocus } } Rectangle { Layout.fillHeight: true Layout.fillWidth: true color: "blue" } Button { text: "foo" } } } }