SliceListModel.setSize

void setSize(uint size)

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.

Parameters

sizethe maximum size