Building with Xcode 12.2 messes window layout.

In my app I have a window that has a table view embedded in a split view with a 6 point space all around except at the bottom.

The window displays ok when I build the app with Xcode 12.1.
When I use Xcode 12.2 the space around the scrollview grows to 20 points. How can I fix this?

Replies

To answer my own question: I found that the default NSTableView style has changed in macOS 11 and in order to get the same behaviour as previous macOS versions I need to add the following in windowDidLoad:

if (@available(macOS 11, *))
{
theTableView.style = NSTableViewStylePlain;
}

Sorry for the noise.