Summary
Calls
GUIStyle.CalcMinMaxWidth and returns the max width.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static float CalculateWidth(this GUIStyle style, GUIContent content)
Parameters
| Name | Type | Description |
|---|---|---|
| style | GUIStyle | |
| content | GUIContent |
Return Value
| Type | Description |
|---|---|
| float |