diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-04-12 03:33:40 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-04-12 04:46:15 (GMT) |
commit | 87db39b013658bcd262d52f6f9e04934991d6ad1 (patch) | |
tree | 768fe99cb01a9b90cb4e5493a1712d41f6d3d981 /doc/src/snippets/declarative | |
parent | 1e3b3551b8498e1f4dc92982e2a040ba90a6bf26 (diff) | |
download | Qt-87db39b013658bcd262d52f6f9e04934991d6ad1.zip Qt-87db39b013658bcd262d52f6f9e04934991d6ad1.tar.gz Qt-87db39b013658bcd262d52f6f9e04934991d6ad1.tar.bz2 |
coding conventions
Diffstat (limited to 'doc/src/snippets/declarative')
-rw-r--r-- | doc/src/snippets/declarative/border-image.qml | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/doc/src/snippets/declarative/border-image.qml b/doc/src/snippets/declarative/border-image.qml index c4215cd..12245dd 100644 --- a/doc/src/snippets/declarative/border-image.qml +++ b/doc/src/snippets/declarative/border-image.qml @@ -9,23 +9,21 @@ Rectangle { anchors.centerIn: parent spacing: 50 //! [0] - BorderImage { - width: 180; height: 180 - border.left: 30; border.top: 30 - border.right: 30; border.bottom: 30 - horizontalTileMode: BorderImage.Stretch - verticalTileMode: BorderImage.Stretch - source: "content/colors.png" - } +BorderImage { + width: 180; height: 180 + border { left: 30; top: 30; right: 30; bottom: 30 } + horizontalTileMode: BorderImage.Stretch + verticalTileMode: BorderImage.Stretch + source: "content/colors.png" +} - BorderImage { - width: 180; height: 180 - border.left: 30; border.top: 30 - border.right: 30; border.bottom: 30 - horizontalTileMode: BorderImage.Round - verticalTileMode: BorderImage.Round - source: "content/colors.png" - } +BorderImage { + width: 180; height: 180 + border { left: 30; top: 30; right: 30; bottom: 30 } + horizontalTileMode: BorderImage.Round + verticalTileMode: BorderImage.Round + source: "content/colors.png" +} //! [0] } } |