import QtQuick 1.1

Rectangle {
    width: 1920
    height: 1080

    ListView {
        width: 250
        height: 200
        anchors.centerIn: parent
        model: 100
        delegate: delegateItem
        boundsBehavior: Flickable.StopAtBounds
        clip: true
    }

    Component {
        id: delegateItem

        Item {
            width: 200
            height: 40
            Rectangle {
                width: parent.width - 6
                height: parent.height - 6
                color: "#e49813"
                anchors.centerIn: parent
                Text {
                    color: "#3195c6"
                    anchors.centerIn: parent
                    text: index
                    font.family: "Arial"
                    font.pointSize: 16
                }
            }
        }
    }
}
