How to place inside flickable other components
Unsolved
QML and Qt Quick
-
Hello, I have a question, there is a design of the species:
...
Flickable{
id: flick
anchors.fill: parent
ColumnLayout{
id: col
anchors.fill: parent
Repeater{
model: ["1", "2", "3"]
delegate: ...
}
}
}
...
it works and does not cause any warnings and errors, but in the documentation for Flickable I read: "Note: Due to an implementation detail, items placed inside a Flickable cannot anchor to the Flickable. Instead, use parent, which refers to the Flickable's contentItem. The size of the content item is determined by contentWidth and contentHeight."
This means that my piece of code is incorrect and needs to be rewritten? if so, how the design should look based on the documentation?
Thanks