diff options
author | David Boddie <dboddie@trolltech.com> | 2010-08-23 12:59:25 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-08-23 12:59:25 (GMT) |
commit | 6c9e0053d86311741d3e737882cdb6ff882d89ef (patch) | |
tree | c5deedc598e84d7fcf12c18a5c356c56ac2033c5 | |
parent | bdabeaf6e35d6b7602e944ee78e59c57313b80cd (diff) | |
download | Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.zip Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.tar.gz Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.tar.bz2 |
Doc: Updated QML snippets.
-rw-r--r-- | doc/src/snippets/declarative/borderimage/borderimage-tiled.qml | 8 | ||||
-rw-r--r-- | doc/src/snippets/declarative/image.qml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/snippets/declarative/borderimage/borderimage-tiled.qml b/doc/src/snippets/declarative/borderimage/borderimage-tiled.qml index 575e9fd..e792814 100644 --- a/doc/src/snippets/declarative/borderimage/borderimage-tiled.qml +++ b/doc/src/snippets/declarative/borderimage/borderimage-tiled.qml @@ -45,15 +45,15 @@ Rectangle { color: "white" width: 180; height: 180 -//! [scaled border image] +//! [tiled border image] BorderImage { width: 180; height: 180 border { left: 30; top: 30; right: 30; bottom: 30 } - horizontalTileMode: BorderImage.Round - verticalTileMode: BorderImage.Round + horizontalTileMode: BorderImage.Repeat + verticalTileMode: BorderImage.Repeat source: "pics/borderframe.png" } -//! [scaled border image] +//! [tiled border image] Rectangle { x: 30; y: 0 diff --git a/doc/src/snippets/declarative/image.qml b/doc/src/snippets/declarative/image.qml index b84cbcb..b0ae032 100644 --- a/doc/src/snippets/declarative/image.qml +++ b/doc/src/snippets/declarative/image.qml @@ -41,5 +41,5 @@ import Qt 4.7 Image { - source: "qtlogo.png" + source: "pics/qtlogo.png" } |