public override Vector2 GetTotalSize(List<TreeViewItem> rows) { if (this.m_RowRects.Count == 0) { return new Vector2(1f, 1f); } Rect rect = this.m_RowRects[this.m_RowRects.Count - 1]; return new Vector2(base.GetMaxWidth(rows) + 10f, rect.yMax); }