summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser/content/RectSoftShadow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/webbrowser/content/RectSoftShadow.qml')
-rw-r--r--demos/declarative/webbrowser/content/RectSoftShadow.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/demos/declarative/webbrowser/content/RectSoftShadow.qml b/demos/declarative/webbrowser/content/RectSoftShadow.qml
new file mode 100644
index 0000000..0235842
--- /dev/null
+++ b/demos/declarative/webbrowser/content/RectSoftShadow.qml
@@ -0,0 +1,10 @@
+<Item>
+ <Image src="pics/softshadow-left.sci" x="-16" y="-16"
+ width="16" height="{parent.height+32}" />
+ <Image src="pics/softshadow-right.sci" x="{parent.width}" y="-16"
+ width="16" height="{parent.height+32}" />
+ <Image src="pics/softshadow-top.png" x="0" y="-16"
+ width="{parent.width}" height="16" />
+ <Image src="pics/softshadow-bottom.png" x="0" y="{parent.height}"
+ width="{webview.width*webview.scale}" height="16" />
+</Item>