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 12 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<TIdentifier>.baseIndent and assumes full width for rename overlay placement.
Additional Resources: TreeView<TIdentifier>.RowGUIArgs.GetCellRect.