How do I automatically resize NSTableColumn?

I have a 3 column table (NSTableColumn) with XCode IB.

The last column is "Amount" and the column before "Description". When I resize the window, the table will also resize, but the "Sum" is the column that gets wider.

How do I set the width of the Amount column and resize the Description column instead?

+2


source to share


1 answer


Take a look at the inspector for each column of the table in the Interface Builder.

For those that you want to keep their width, uncheck the "Resize with a table" checkbox.



For the columns you want to change their width, make sure they are checked.

+2


source







All Articles