Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RefreshCustomRowHeights()

Refreshes the cache of custom row rects based on the heights returned by TreeView.GetCustomRowHeight.
Read time 1 minuteLast updated 14 days ago

Definition

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.