Get maximumSize property.
The maximum size to allocate to the children.
It is the width if the layout is horizontal, or the height if it is vertical.
Get maximumSize property.