GUIStyle.CalcHeight

Switch to Manual
public float CalcHeight(GUIContent content, float width);

Description

How tall this element will be when rendered with content and a specific width.

Did you find this page useful? Please give it a rating: