implicitHeight: Math.max(background ? background.implicitHeight : 0, contentItem.implicitHeight + topPadding + bottomPadding) spacing: 6 topPadding: 6 bottomPadding: 6 font.bold: true //! [delegate] delegate: Text { text: shortName font: control.font horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter required property string shortName } //! [delegate] //! [contentItem] contentItem: Row { spacing: control.spacing Repeater { model: control.source delegate: control.delegate } } //! [contentItem] }