diff options
| author | Yann Bodson <yann.bodson@nokia.com> | 2011-03-29 04:17:51 (GMT) |
|---|---|---|
| committer | Yann Bodson <yann.bodson@nokia.com> | 2011-03-29 04:17:51 (GMT) |
| commit | 66a1938f34c9b50902e6c88b45fc063abb49830b (patch) | |
| tree | ea79a39b9076a207fc0ca0508a907d95eb29b3d6 /doc/src/snippets/declarative/layoutmirroring.qml | |
| parent | 6567653a003191508ee5561dcd9896cb97cf3ec3 (diff) | |
| parent | 4da2ba2e788bb63a155e1d10ae559d4366eed875 (diff) | |
| download | Qt-66a1938f34c9b50902e6c88b45fc063abb49830b.zip Qt-66a1938f34c9b50902e6c88b45fc063abb49830b.tar.gz Qt-66a1938f34c9b50902e6c88b45fc063abb49830b.tar.bz2 | |
Merge ../qt-qml-staging
Diffstat (limited to 'doc/src/snippets/declarative/layoutmirroring.qml')
| -rw-r--r-- | doc/src/snippets/declarative/layoutmirroring.qml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/src/snippets/declarative/layoutmirroring.qml b/doc/src/snippets/declarative/layoutmirroring.qml index 23eecd6..617f39d 100644 --- a/doc/src/snippets/declarative/layoutmirroring.qml +++ b/doc/src/snippets/declarative/layoutmirroring.qml @@ -43,18 +43,25 @@ import QtQuick 1.1 Rectangle { LayoutMirroring.enabled: true LayoutMirroring.childrenInherit: true - width: 240; height: 50 + + width: 300; height: 50 + color: "yellow" + border.width: 1 + Row { anchors { left: parent.left; margins: 5 } y: 5; spacing: 5 + Repeater { model: 5 + Rectangle { color: "red" - opacity: (5-index) / 5 + opacity: (5 - index) / 5 width: 40; height: 40 + Text { - text: index+1 + text: index + 1 anchors.centerIn: parent } } |
