summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/layoutmirroring.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-03-29 05:57:38 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-03-29 05:57:38 (GMT)
commit7dc8b5e3361496064e99d1335232126788875179 (patch)
treeea79a39b9076a207fc0ca0508a907d95eb29b3d6 /doc/src/snippets/declarative/layoutmirroring.qml
parent07c367c2de9fb721cd4e0379acb705ebf1da997f (diff)
parent66a1938f34c9b50902e6c88b45fc063abb49830b (diff)
downloadQt-7dc8b5e3361496064e99d1335232126788875179.zip
Qt-7dc8b5e3361496064e99d1335232126788875179.tar.gz
Qt-7dc8b5e3361496064e99d1335232126788875179.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-qml-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-qml-team: (93 commits) Designer: Fix tab order in action editor dialog. tst_qlocale: improve failure message in tst_QLocale::macDefaultLocale Add a once-over unrolled fromLatin1 conversion (32 characters) Add 16-byte loads of the Neon fromLatin1 functions Fix warning about unused parameter Make QtUiTools use the lib-infix passed to configure. Skip failing tests Removed old autotest references from Symbian build files Icon in QMessageBox::question is deformed on Symbian Prevent crash when connecting signal in splitview GraphicsViews: Focused widget is not visible after orientation change GraphicsViews: Focused widget is not visible after orientation change Add missing nullify for the s60 style's background pixmap pointer. Fixes QT-4753 sort out stdout vs. stderr usage Updated QtGUI DEF files for WINSCW Handle removal of setter for partialUpdateSupport Remove the use of the QtTest baseline feature I reverted Revert "Add a feature to QTestLib to correct benchmark results." Use the ARM version of UTF-8 detection in the Neon code ...
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
}
}