setMaxChildrenPerLine

open fun setMaxChildrenPerLine(nChildren: <Error class: unknown class>)

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

nChildren

the maximum number of children per line