FlowBox.setMaxChildrenPerLine

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.

class FlowBox
void
setMaxChildrenPerLine
()

Parameters

nChildren uint

the maximum number of children per line

Meta

Since

3.12