-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.7.1
-
None
-
9062ba372 (dev)
Tapping on the rectangles created by the code below, I would expect the blue rectangle to stay aligned at the top left of the red rectangle:
Rectangle {
width: 640; height: 480;
Rectangle {
id: redRect
color: "red"
width: 100; height: 100;
anchors.centerIn: parent
}
Rectangle {
color: "blue"
width: 50; height: 25;
anchors.bottom: redRect.top
anchors.left: redRect.left
}
MouseArea {
anchors.fill: parent
onClicked: redRect.scale = redRect.scale==1 ? 2 : 1
}
}