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