How can I have the only column of my NSTableView take all the width of the TableView?

前端 未结 3 1819
眼角桃花
眼角桃花 2021-02-01 01:57

I am currently trying to learn a bit of Cocoa (using the book Cocoa Programming for Mac OS X). In one of the exercises, we set up a NSTableView with only one column, to act as a

3条回答
  •  猫巷女王i
    2021-02-01 02:11

    This is just an IB problem that happens all the time (I'm not sure why). To solve this, simply just resize the table view to the size smaller than the 2nd column, then drag it back to the size you want and the 2nd column will disappear.

提交回复
热议问题