tests/auto/declarative/qdeclarativepositioners/data/gridzerocolumns.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     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 }