summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser/content/RectSoftShadow.qml
blob: 5817f00cddd1413f008be51f02449800dc5b96b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Item {
    Image {
        source: "pics/softshadow-left.sci"
        x: -16
        y: -16
        width: 16
        height: parent.height+32
    }
    Image {
        source: "pics/softshadow-right.sci"
        x: parent.width
        y: -16
        width: 16
        height: parent.height+32
    }
    Image {
        source: "pics/softshadow-top.png"
        x: 0
        y: -16
        width: parent.width
        height: 16
    }
    Image {
        source: "pics/softshadow-bottom.png"
        x: 0
        y: parent.height
        width: webview.width*webview.scale
        height: 16
    }
}