Fix test fails related to QTBUG-22237
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquickflickable / data / flickable04.qml
1 import QtQuick 2.0
2
3 Flickable {
4     property bool ok: false
5     function check() {
6         if (column.parent == contentItem)
7             ok = true;
8     }
9
10     width: 100; height: 100
11     contentWidth: column.width; contentHeight: column.height
12     pressDelay: 200; boundsBehavior: Flickable.StopAtBounds; interactive: false
13     maximumFlickVelocity: 2000
14
15     Column {
16         id: column
17         Repeater {
18             model: 4
19             Rectangle { width: 200; height: 300; color: "blue" }
20         }
21     }
22 }