summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-23 12:59:25 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-23 12:59:25 (GMT)
commit6c9e0053d86311741d3e737882cdb6ff882d89ef (patch)
treec5deedc598e84d7fcf12c18a5c356c56ac2033c5 /doc
parentbdabeaf6e35d6b7602e944ee78e59c57313b80cd (diff)
downloadQt-6c9e0053d86311741d3e737882cdb6ff882d89ef.zip
Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.tar.gz
Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.tar.bz2
Doc: Updated QML snippets.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/declarative/borderimage/borderimage-tiled.qml8
-rw-r--r--doc/src/snippets/declarative/image.qml2
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"
}