<commit_before>import QtQuick 2.0
import QtQuick 2.6
import QtQuick.Layouts 1.1
import QUIKit 1.0

Rectangle {
    id: component

    property alias folder : listModel.folder

    property alias filters: listModel.filters

    height: grid.height
    width: grid.width + grid.leftPadding + grid.rightPadding

    color: "white"

    QmlFileListModel {
        id: listModel
    }

    Flow {
        id: grid
        spacing: 10
        padding: 10
        anchors.centerIn: parent

        Repeater {
            model: listModel

            delegate: NameTag {
                name: model.qml
                growToFitContent: true

                ScaledLoader {
                    autoScaleToFit: false
                    source: model.source
                }
            }
        }
    }
}<commit_msg>UIFlow: It should set the width and let the height grow automatically.<commit_after>import QtQuick 2.0
import QtQuick 2.6
import QtQuick.Layouts 1.1
import QUIKit 1.0

Rectangle {
    id: component

    property alias folder : listModel.folder

    property alias filters: listModel.filters

    implicitHeight: grid.height

    color: "white"

    QmlFileListModel {
        id: listModel
    }

    Flow {
        id: grid
        spacing: 10
        padding: 10
        width: parent.width

        Repeater {
            model: listModel

            delegate: NameTag {
                name: model.qml
                growToFitContent: true

                ScaledLoader {
                    autoScaleToFit: false
                    source: model.source
                }
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.05922270203578038, 'fraction_numerical': 0.014805675508945095, 'mean_word_length': 1.4501510574018126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2824526', 'n_tokens_mistral': 478, 'n_tokens_neox': 426, 'n_words': 121}