diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-28 14:42:27 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-28 14:42:27 (GMT) |
commit | 4250f602fd86418adaaa38616a5f71640b2a9132 (patch) | |
tree | 1781a186d8967874e633bda6be15353df5717d56 /doc/src/snippets/declarative/layoutmirroring.qml | |
parent | 869a1c838ec58051f355552435049b58c6fbe354 (diff) | |
parent | 4da2ba2e788bb63a155e1d10ae559d4366eed875 (diff) | |
download | Qt-4250f602fd86418adaaa38616a5f71640b2a9132.zip Qt-4250f602fd86418adaaa38616a5f71640b2a9132.tar.gz Qt-4250f602fd86418adaaa38616a5f71640b2a9132.tar.bz2 |
Merge remote branch 'origin/master' into 4.8-earth
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 } } |