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-spacing.qml
1
import QtQuick 1.1
2
3
Item {
4
width: 640
5
height: 480
6
property bool testRightToLeft: false
7
8
Row {
9
objectName: "row"
10
spacing: 10
11
layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
12
Rectangle {
13
objectName: "one"
14
color: "red"
15
width: 50
16
height: 50
17
}
18
Rectangle {
19
objectName: "two"
20
color: "red"
21
width: 20
22
height: 10
23
}
24
Rectangle {
25
objectName: "three"
26
color: "red"
27
width: 40
28
height: 20
29
}
30
}
31
}