aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-05-31 13:37:52 +0200
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-06-01 10:35:43 +0000
commitb73cf34563419852cbe01ffee3b57f5e21cc81e7 (patch)
tree706016780dca35eb7648727d53e0656bf77ce65c
parent35179f6b3116f1cee4586faa7c4f751e6d2e00af (diff)
Update code snippet to match the image correctly
Change-Id: Ibf66243d0a2d21fbc08e8d5d64c692f85f0caab1 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
-rw-r--r--src/effects/doc/snippets/DropShadow-transparentBorder-example.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/effects/doc/snippets/DropShadow-transparentBorder-example.qml b/src/effects/doc/snippets/DropShadow-transparentBorder-example.qml
index fe05597..198dd58 100644
--- a/src/effects/doc/snippets/DropShadow-transparentBorder-example.qml
+++ b/src/effects/doc/snippets/DropShadow-transparentBorder-example.qml
@@ -59,6 +59,8 @@ Rectangle {
layer.enabled: true
layer.effect: DropShadow {
transparentBorder: false
+ horizontalOffset: 8
+ verticalOffset: 8
}
}
@@ -71,6 +73,8 @@ Rectangle {
layer.enabled: true
layer.effect: DropShadow {
transparentBorder: true
+ horizontalOffset: 8
+ verticalOffset: 8
}
}
}