setMaximumSize

fun setMaximumSize(maximumSize: Int)

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

maximumSize

the maximum size