blob: 6277111e68c62225381dba7bf0c025b12175dff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
import QtQuick 1.0
Rectangle {
id: container
color: "red"
height: 200
width: 200
Column {
id: column
objectName: "column"
anchors.left: container.right
anchors.bottom: container.bottom
Rectangle {
id: rectangle
color: "blue"
height: 100
width: 200
}
Rectangle {
color: "blue"
height: 100
width: 200
}
}
states: State {
name: "reanchored"
AnchorChanges {
target: column
anchors.left: undefined
anchors.right: container.right
}
PropertyChanges {
target: rectangle
opacity: 0
}
}
}
|