From 63b7decc0f434e952bbbc01d131bdcb10a01f806 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Wed, 18 Apr 2012 14:41:14 +1000 Subject: Improve examples documentation Add more details and snippets to the examples for text and imageelements. Change-Id: If0b20a0dca1778a8a4cc0ebf1e43017bdce839ec Reviewed-by: Alan Alpert --- examples/quick/imageelements/content/ShadowRectangle.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/quick/imageelements/content') 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 } } -- cgit v1.2.3