diff options
Diffstat (limited to 'examples/quick/imageelements/ShadowRectangle.qml')
-rw-r--r-- | examples/quick/imageelements/ShadowRectangle.qml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/examples/quick/imageelements/ShadowRectangle.qml b/examples/quick/imageelements/ShadowRectangle.qml index b81da838fe..2be2fb81f2 100644 --- a/examples/quick/imageelements/ShadowRectangle.qml +++ b/examples/quick/imageelements/ShadowRectangle.qml @@ -9,11 +9,25 @@ Item { //! [shadow] BorderImage { anchors.fill: rectangle - anchors { leftMargin: -6; topMargin: -6; rightMargin: -8; bottomMargin: -8 } - border { left: 10; top: 10; right: 10; bottom: 10 } + anchors { + leftMargin: -6 + topMargin: -6 + rightMargin: -8 + bottomMargin: -8 + } + border { + left: 10 + top: 10 + right: 10 + bottom: 10 + } source: "pics/shadow.png" } //! [shadow] - Rectangle { id: rectangle; anchors.fill: parent } + Rectangle { + id: rectangle + + anchors.fill: parent + } } |