diff options
Diffstat (limited to 'demos/declarative/webbrowser/content')
-rw-r--r-- | demos/declarative/webbrowser/content/RectSoftShadow.qml | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/demos/declarative/webbrowser/content/RectSoftShadow.qml b/demos/declarative/webbrowser/content/RectSoftShadow.qml index 2b39422..5817f00 100644 --- a/demos/declarative/webbrowser/content/RectSoftShadow.qml +++ b/demos/declarative/webbrowser/content/RectSoftShadow.qml @@ -1,10 +1,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" /> -</Item> +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 + } +} |