idealSize

open override fun idealSize(container: PositionableContainer, default: Size?): 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