summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-03-09 08:06:53 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2011-03-09 08:06:53 (GMT)
commit4320e48d4bdfb58e2b59e82cd2f5f1131af88b3e (patch)
treeeae83573fc81fc454178b0ec3dc2a6832eec1fe5 /tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml
parentf386c778d17347fb81d152eb61a7c40abe4eb0ae (diff)
parent65c1eb37a2c284df17bdcc621008ebbe74f0e2fd (diff)
downloadQt-4320e48d4bdfb58e2b59e82cd2f5f1131af88b3e.zip
Qt-4320e48d4bdfb58e2b59e82cd2f5f1131af88b3e.tar.gz
Qt-4320e48d4bdfb58e2b59e82cd2f5f1131af88b3e.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-qml
Diffstat (limited to 'tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml')
-rw-r--r--tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml b/tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml
index f3b17dd..929b726 100644
--- a/tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml
+++ b/tests/auto/declarative/qdeclarativepositioners/data/gridtest.qml
@@ -1,9 +1,11 @@
-import QtQuick 1.0
+import QtQuick 1.1
Item {
width: 640
height: 480
+ property bool testRightToLeft: false
Grid {
+ layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
objectName: "grid"
columns: 3
Rectangle {
@@ -21,7 +23,7 @@ Item {
Rectangle {
objectName: "three"
color: "blue"
- width: 50
+ width: 30
height: 20
}
Rectangle {