idealSize

open fun idealSize(container: PositionableContainer, default: Size? = null): Size?

Returns the ideal size of the Positionable based on its contents.

Return

the ideal size

Parameters

container

The Positionable being investigated

default

The size to use if one can't be calculated