SliceListModel.setSize

Sets the maximum size. self will never have more items than size.

It can however have fewer items if the offset is too large or the model sliced from doesn't have enough items.

class SliceListModel
void
setSize
(
uint size
)

Parameters

size uint

the maximum size