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
/
qdeclarativestates
/
data
/
anchorChanges1.qml
1
import QtQuick 1.0
2
3
Rectangle {
4
id: container
5
width: 200; height: 200
6
Rectangle {
7
id: myRect
8
objectName: "MyRect"
9
width: 50; height: 50
10
color: "green";
11
anchors.left: parent.left
12
anchors.leftMargin: 5
13
}
14
states: State {
15
name: "right"
16
AnchorChanges {
17
id: ancCh
18
target: myRect;
19
anchors.left: undefined
20
anchors.right: container.right
21
}
22
}
23
}