projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativepositioners
/
data
/
horizontal.qml
1
import QtQuick 1.1
2
3
Item {
4
width: 640
5
height: 480
6
property bool testRightToLeft: false
7
Row {
8
objectName: "row"
9
layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
10
Rectangle {
11
objectName: "one"
12
color: "red"
13
width: 50
14
height: 50
15
}
16
Rectangle {
17
objectName: "two"
18
color: "red"
19
width: 20
20
height: 10
21
}
22
Rectangle {
23
objectName: "three"
24
color: "red"
25
width: 40
26
height: 20
27
}
28
}
29
}