Search code examples
xcodecocoanstableview

Disabling Column Resizing in NSTableView


I have been fiddling around with settings for a while, and cannot seem to figure out how to remove that tick. I am assuming now since I couldn't find it graphically, it's code.

I don't want to just drag it out of sight. I'm sure there's code the remove that little adjuster altogether.

Table Slider


Solution

  • Not exactly the solution you are looking for, but when I get tired of looking at those columns with their 100px default width, I take the width of the table view and set the width of the column to the same. Then also set the table view to resize columns automatically and last column fills the width.