import QtQuick 2.6 import QtQuick.Layouts 1.3 Rectangle { width: 800 height: 600 color: "blue" GridLayout { anchors.fill: parent columns: 3 columnSpacing: 0 rowSpacing: 0 Repeater { model: 6 Rectangle { Layout.fillWidth: true Layout.fillHeight: true color: "orange" } } } }