ClampLayout.setMaximumSize

void setMaximumSize(int maximumSize)

Sets the maximum size allocated to the children.

It is the width if the layout is horizontal, or the height if it is vertical.

Parameters

maximumSizethe maximum size