Manual     Reference     Scripting  
  
Scripting > Runtime Classes > GUIStyle Switch to Component   

GUIStyle.CalcHeight  

function CalcHeight (content : GUIContent, width : float) : float

Description

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