Solved How to let the column scrollable?
-
My code is like this:
Column { Repeater { model: 1000 CheckBox { text: "index " + index } } }
-
@Mr-Pang Add it inside ScrollView. If you want it to be smooth and animated use
Flickable
inside it too.And then if you feel that there should be some built-in type for this then use
ListView
-
@p3c0
But I don't know how to use Repeater inside ListView -
Hello @Mr-Pang,
You don't need to use a repeater, but
model
anddelegate
.Have a look in the example provided here Move QML ListView via buttons
-
@Julien-B
I see. model can be given a number directly.