setMaximumSize

fun setMaximumSize(maximumSize: Int)

Sets the maximum size allocated to the child.

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

Parameters

maximumSize

the maximum size