cellMargin
When using a MultiColumnHeader this value adjusts the cell rects provided for all columns except the tree foldout column.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Property
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
protected float cellMargin { get; set; }
Remarks
This value is used for all cell margins except the column with the tree view foldouts since that column uses TreeView.baseIndent and assumes full width for rename overlay placement.
Additional Resources: TreeView.RowGUIArgs.GetCellRect.