CalcMinMaxWidth(GUIContent, out float, out float)
Calculate the minimum and maximum widths for this style rendered with content.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
CalcMinMaxWidth(GUIContent, float, float)
public void CalcMinMaxWidth(GUIContent content, out float minWidth, out float maxWidth)
Parameters
Remarks
Used by GUILayout to handle word-wrapping elements correctly.