If you're targeting Leopard, you can put these 2 lines in your
controller's -awakeFromNib: method:
[[self window] setAutorecalculatesContentBorderThickness:YES
forEdge:NSMinYEdge];
[[self window] setContentBorderThickness: 32.0 forEdge: NSMinYEdge];
If you create a textured window NSWindow will automatically call -
setAutorecalculatesContentsBorderThickness:YES forEdge: with both
NSMaxYEdge and NSMinYEdge on your behalf. The only time you should
need to call this method is if you don’t have opaque content that
stretches across most of your window, or you want to show a bottom-
edge divider like the one at the bottom of Address Book.
-Ben_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]