UnityEditor.AudioMixerExposedParameterView.WidthOfRow C# (CSharp) Method

WidthOfRow() private method

private WidthOfRow ( int index, GUIStyle leftStyle, GUIStyle rightStyle ) : float
index int
leftStyle UnityEngine.GUIStyle
rightStyle UnityEngine.GUIStyle
return float
        private float WidthOfRow(int index, GUIStyle leftStyle, GUIStyle rightStyle)
        {
            string infoString = this.GetInfoString(index);
            Vector2 vector = rightStyle.CalcSize(GUIContent.Temp(infoString));
            return ((leftStyle.CalcSize(GUIContent.Temp(this.GetNameOfElement(index))).x + vector.x) + 25f);
        }