setAutoresizesAllColumnsToFit:
Controls whether the table view proportionally resizes its columns to fit when its superview’s frame changes.
Declaration
- (void) setAutoresizesAllColumnsToFit:(BOOL) flag;Discussion
If flag is true, the difference in width is distributed among the table view’s table columns; if flag is false, only the last column is resized to fit.
To preserve compatibility this method sets the autoresizing style to NSTableView.ColumnAutoresizingStyle.uniformColumnAutoresizingStyle , if flag is true. Otherwise the autoresizing style is set to NSTableView.ColumnAutoresizingStyle.lastColumnOnlyAutoresizingStyle.
See Also
Deprecated Methods
dragImageForRows:event:dragImageOffset:autoresizesAllColumnsToFitselectColumn:byExtendingSelection:selectRow:byExtendingSelection:tableView:writeRows:toPasteboard:setDrawsGrid:drawsGridselectedColumnEnumeratorselectedRowEnumeratorfocusedColumn()setFocusedColumn(_:)shouldFocusCell(_:atColumn:row:)performClickOnCell(atColumn:row:)preparedCell(atColumn:row:)columnsInRect: