Specifies whether the window calculates the thickness of a given border automatically.
- macOS 10.5+
true, the window calculates the thickness of the edge automatically; if
false, it does not.
The border to set auto-recalculation on or off:
NSMax: Top border.
NSMin: Bottom border.
Turning off a border’s auto-recalculation status sets its border thickness to
In a nontextured window calling
NSMax will raise an exception (in a nontextured window, it’s only valid to set the content border thickness of the bottom edge). It is only valid to set the content border thickness of the top edge in a textured window.
Typically, if you call
set, you should also call