import QtQuick 2.6 import QtQuick.Window 2.2 Window { id: window width: 300 height: 300 visible: true Text { text: row.implicitWidth } Row { id: row spacing: 20 anchors.centerIn: parent Repeater { id: repeater model: ["First", "Second", "Third", "Fourth"] Text { text: modelData width: (window.width - (repeater.count - 1) * parent.spacing) / repeater.count Rectangle { z: -1; border.width: 1; anchors.fill: parent} } } } }