summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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"
}