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

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"
    }
}