get_preferred_height_for_width


Description:

protected virtual int get_preferred_height_for_width (int width)

Gets the preferred height of the widget for the specified width.

This is used by the parent Container to help layout the widget.

Parameters:

width

The width to be used by the widget.