Specifies the thickness of a given border of the window.
- macOS 10.5+
The thickness for
edge, in points.
The border whose thickness to set:
NSMax: Top border.
NSMin: Bottom border.
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
content does not include the title bar or toolbar, so a textured window that just wants the gradient in the title bar and toolbar should have a