RefreshCustomRowHeights()
Refreshes the cache of custom row rects based on the heights returned by TreeView.GetCustomRowHeight.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
protected virtual void RefreshCustomRowHeights()
Remarks
This method calls TreeView.GetCustomRowHeight for each of the current rows and caches the results. It is called automatically by the TreeView after TreeView.BuildRows is called to ensure heights are in sync with the rows. Calling this method manually is needed when row heights changes dynamically e.g after a user action changes the content of a row.