summaryrefslogtreecommitdiffstats
path: root/examples/declarative/border-image/borders.qml
blob: 98794165f2133251863260955d0a5a620682eb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Qt 4.6

Rectangle {
    id: page
    color: "white"
    width: 520; height: 280

    BorderImage {
        x: 20; y: 20; width: 230; height: 240
        smooth: true
        source: "content/colors-stretch.sci"
    }
    BorderImage {
        x: 270; y: 20; width: 230; height: 240
        smooth: true
        source: "content/colors-round.sci"
    }
}