I have a cell-based NSTableView that is unexpectedly resizing vertically as I continue to add more items to the table. I've implemented constraints, but they are obviously being broken.
Not sure if this is in any way related, but I don't seem to have this problem when the NSTableView is in a regular NSWindow - the issue only happens when the NSTableView is within an NSPopover (I understand that NSPopover does have a window, i.e. myPopover.contentViewController.view.window).
I've tried a number of things to stop autoresizing, but nothing is working.
This is what happens if I do not place a height constraint on the NSSegmentedControl below the NSTableView (it gets squished, oddly by what seems to be the NSScrollView resizing, and not the NSTableView):
This is what happens if I do place a height constraint on the NSSegmentedControl (the NSScrollView (height = 155) constraint is broken, and both the NSScrollView and the NSTableView resize):
Here are my constraints: