FlowBox.setMaxChildrenPerLine

void setMaxChildrenPerLine(uint nChildren)

Sets the maximum number of children to request and allocate space for in box’s orientation.

Setting the maximum number of children per line limits the overall natural size request to be no more than n_children children long in the given orientation.

Parameters

nChildrenthe maximum number of children per line