Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.0.0 RC 2
-
None
-
GCC 4.7.2
Qt 5.0.0 RC 2
Qt Creator 2.6.1
Description
When adding anchors.fill: parent inside a flow item, QML debug responds with warnings: "QML Flow: Cannot specify anchors for items inside Flow. Flow will not function".
I have tried the same function in Quick Qt 1.1 (Qt 4.8.3) and it works fine.
See example below:
Rectangle {
x: 0
y: 0
width: 800
height: 24
Flow {
Rectangle {
id: rec1
width: 32
height: 24
}
Rectangle {
id: rec2
width: 32
height: 24
}
Rectangle {
id: rec3
width: 32
height: 24
}
Rectangle {
id: rec4
width: 32
height: 24
}
MouseArea {
id: mouseArea
anchors.fill: parent
onClicked: console.log("Clicked!");
}
}
}