How to let the column scrollable?
-
wrote on 28 Oct 2016, 07:25 last edited by
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
-
@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
-
wrote on 28 Oct 2016, 08:30 last edited by Julien B
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
-
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
4/5