GUIStyle.CalcMinMaxWidth

Switch to Manual

Declaration

public void CalcMinMaxWidth(GUIContent content, out float minWidth, out float maxWidth);

Description

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

Used by GUILayout to handle word-wrapping elements correctly.


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