文档

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

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.