GUIStyle.CalcMinMaxWidth Manual     Reference     Scripting  
Scripting > Runtime Classes > GUIStyle
GUIStyle.CalcMinMaxWidth

function CalcMinMaxWidth (content : GUIContent, out minWidth : float, out maxWidth : float) : void

Description

Calculate the minimum and maximum widths for this style rendered with content.

Used by GUILayout to handle word-wrapping elements correctly.