Existing NSButtons are now bigger in macOS Tahoe

After rebuilding my app (written in objective-c so no Swift at all) in macOS Tahoe with Xcode beta 2, I've noticed that NSButtons such as OK and Cancel laid out in my XIB files are now bigger and butt up against each other. I've got a lot of existing windows that contain buttons laid out using Interface Builder that predate constraints. The buttons were originally placed apart where they would "snap" the correct distance from each other. It's a lot of work for me to go through all the XIB files and windows and add constraints so I'd like to avoid that if at all possible. I've tried setting prefersCompactControlSizeMetrics to true for my window's contentView but that didn't help.

LOL, they censored the word that's a synonym for abut and adjoin. Anyway, the buttons are right next to each other with no gap.

So prefersCompactControlSizeMetrics will use the compact size if you set it to true for the button. However, the documentation for prefersCompactControlSizeMetrics says When this property is true, any NSControls in the view or its descendants will be sized with compact metrics compatible with macOS 15 and earlier which I took to mean that I could set that property for a super view and all of its subviews would use the compact size which is not the case. I filed a bug.

Existing NSButtons are now bigger in macOS Tahoe
 
 
Q