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

Rectangle {
    id: page
    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"
    }
}