Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativepositioners / data / grid-toptobottom.qml
1 import QtQuick 1.0
2
3 Item {
4     width: 640
5     height: 480
6     Grid {
7         objectName: "grid"
8         rows: 3
9         flow: Grid.TopToBottom
10         Rectangle {
11             objectName: "one"
12             color: "red"
13             width: 50
14             height: 50
15         }
16         Rectangle {
17             objectName: "two"
18             color: "green"
19             width: 20
20             height: 50
21         }
22         Rectangle {
23             objectName: "three"
24             color: "blue"
25             width: 50
26             height: 20
27         }
28         Rectangle {
29             objectName: "four"
30             color: "cyan"
31             width: 50
32             height: 50
33         }
34         Rectangle {
35             objectName: "five"
36             color: "magenta"
37             width: 10
38             height: 10
39         }
40     }
41 }