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