tests/auto/declarative/qdeclarativepositioners/data/grid-spacing.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 
       
     3 Item {
       
     4     width: 640
       
     5     height: 480
       
     6     Grid {
       
     7         objectName: "grid"
       
     8         columns: 3
       
     9         spacing: 4
       
    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 }