Hiii everyOne,
See the code below:
Item{
width: 600
height: 500
Rectangle{
width: parent.width
height: 400
color: "#710909"
anchors.bottom: parent.bottom
Flickable{
anchors.fill: parent
contentWidth: parent.width
contentHeight: parent.height*3
Rectangle {
id: GreenRectangle
x: 200
y: 106
width: 200
height: 200
color: "green"
}
}
}
}
Item{
width: 600
height: 500
Rectangle{
width: parent.width
height: 400
color: "#710909"
anchors.bottom: parent.bottom
Flickable{
anchors.fill: parent
contentWidth: parent.width
contentHeight: parent.height*3
Rectangle {
id: GreenRectangle
x: 200
y: 106
width: 200
height: 200
color: "green"
}
}
}
}
To copy to clipboard, switch view to plain text mode
Why the object GreenRectangle exceeds the limit of Flickable ... see image : fl.png
Any solution ?
Bookmarks