NSSearchField.isBordered to either
false after setting the
NSSearchField.bezelStyle, the bezel will not be applied properly. So if you want
.bezelStyle = .roundedBezel it is better to not set
isBordered at all.
I think we can file that under "AppKit weirdness".
And yes, i'm creating the UI of this Mac app programmatically. I've learned my lesson after loosing many hours by merging storyboards, xibs and nibs for several clients in the past decade.