get_preferred_width_for_height


Description:

protected virtual int get_preferred_width_for_height (int height)

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

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

Parameters:

height

The height to be used by the widget.