projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick2
/
qquickpositioners
/
data
/
flowtest-toptobottom.qml
1
import QtQuick 2.0
2
3
Item {
4
height: 90
5
width: 480
6
property bool testRightToLeft: false
7
8
Flow {
9
objectName: "flow"
10
height: parent.height
11
layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
12
flow: Flow.TopToBottom
13
Rectangle {
14
objectName: "one"
15
color: "red"
16
width: 50
17
height: 50
18
}
19
Rectangle {
20
objectName: "two"
21
color: "green"
22
width: 20
23
height: 50
24
}
25
Rectangle {
26
objectName: "three"
27
color: "blue"
28
width: 50
29
height: 20
30
}
31
Rectangle {
32
objectName: "four"
33
color: "cyan"
34
width: 50
35
height: 50
36
}
37
Rectangle {
38
objectName: "five"
39
color: "magenta"
40
width: 10
41
height: 10
42
}
43
}
44
}