private float GetTabWidth(float width)
{
int count = this.m_Panes.Count;
if ((s_DropInfo != null) && object.ReferenceEquals(s_DropInfo.dropArea, this))
{
count++;
}
if (this.m_Panes.IndexOf(s_DragPane) != -1)
{
count--;
}
return Mathf.Min((float) (width / ((float) count)), (float) 100f);
}