summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeimage/data/tiling.qml
blob: 49715ab3e76a3cfb597468a62806b1c9cbdd8ca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 1.0

Rectangle {
    width: 800; height: 600

    Image {
        objectName: "vTiling"; height: 550; width: 200
        source: "green.png"; fillMode: Image.TileVertically
    }

    Image {
        objectName: "hTiling"; x: 225; height: 250; width: 550
        source: "green.png"; fillMode: Image.TileHorizontally
    }
}