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 /doc/src/snippets/declarative/borderimage | |
parent | bdabeaf6e35d6b7602e944ee78e59c57313b80cd (diff) | |
download | Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.zip Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.tar.gz Qt-6c9e0053d86311741d3e737882cdb6ff882d89ef.tar.bz2 |
Doc: Updated QML snippets.
Diffstat (limited to 'doc/src/snippets/declarative/borderimage')
-rw-r--r-- | doc/src/snippets/declarative/borderimage/borderimage-tiled.qml | 8 |
1 files changed, 4 insertions, 4 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 |