summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/layoutmirroring.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2011-03-21 03:20:36 (GMT)
committerBea Lam <bea.lam@nokia.com>2011-03-21 03:30:11 (GMT)
commit40db21b1d8a020291f0a0660d30491b49f49885b (patch)
treee36531625ff4b35f227a4d31a6a443c30b2fcb6c /doc/src/snippets/declarative/layoutmirroring.qml
parent9f99d85769b3c1c68dd8c9fd9afa1f09c9eeb2e9 (diff)
downloadQt-40db21b1d8a020291f0a0660d30491b49f49885b.zip
Qt-40db21b1d8a020291f0a0660d30491b49f49885b.tar.gz
Qt-40db21b1d8a020291f0a0660d30491b49f49885b.tar.bz2
fixes/improvements for new QML right-to-left docs
Clarify some of the docs and fix some broken doc links.
Diffstat (limited to 'doc/src/snippets/declarative/layoutmirroring.qml')
-rw-r--r--doc/src/snippets/declarative/layoutmirroring.qml13
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
}
}