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

function CalcScreenSize (contentSize : Vector2) : Vector2

Description

Calculate the size of an element formatted with this style, and a given space to content.