diff options
Diffstat (limited to 'examples/quick/imageelements/content')
-rw-r--r-- | examples/quick/imageelements/content/ShadowRectangle.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/imageelements/content/ShadowRectangle.qml b/examples/quick/imageelements/content/ShadowRectangle.qml index e6fd13bb26..4ce8915b01 100644 --- a/examples/quick/imageelements/content/ShadowRectangle.qml +++ b/examples/quick/imageelements/content/ShadowRectangle.qml @@ -43,12 +43,14 @@ import QtQuick 2.0 Item { property alias color : rectangle.color +//! [shadow] BorderImage { anchors.fill: rectangle anchors { leftMargin: -6; topMargin: -6; rightMargin: -8; bottomMargin: -8 } border { left: 10; top: 10; right: 10; bottom: 10 } source: "shadow.png"; smooth: true } +//! [shadow] Rectangle { id: rectangle; anchors.fill: parent } } |