// Copyright (c) 2020.
// Thingiverse plugin is released under the terms of the LGPLv3 or higher.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3

ScrollView {
    property alias model: thingsList.model
    width: parent.width
    clip: true

    ListView {
        id: thingsList
        width: parent.width
        spacing: 20
        delegate: Item {
            width: parent.width
            height: childrenRect.height

            ThingsListItem {
                width: parent.width
                thing: modelData
            }
        }
    }
}
