Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResizeToFit()

Resizes the column widths of the columns that have auto-resize enabled to make all the columns fit to the width of the MultiColumnHeader render rect.
Read time 1 minuteLast updated 12 days ago

Definition

public void ResizeToFit()

Remarks

If no columns have MultiColumnHeaderState.Column.autoResize enabled then this method does nothing. This method is also called when selecting the 'Resize To Fit' context menu of the MultiColumnHeader.