On 3 jan 2010, at 11.41, PCWiz wrote: > I've removed the titlebar buttons and everything, however there is still that > space at the top where the titlebar usually is. Is there a way to remove that > space (in other words, a way to set the height of the title bar?).
The only way I know would be to create a window without a titlebar (see NSBorderlessWindowMask). Note that you can't (easily) create a window without a titlebar in IB, so you will have to do a bit of work in code (there are a couple of different approaches, you can probably figure it out). A big drawback with using a window without a titlebar is that you're now on the hook for much more of the standard appearance and behaviour - rounded corners and such. > Moving up the NSToolbar would work too, is that possible? Not sure if you can use NSToolbar in a window without a titlebar, but perhaps you can. (Would be easy to test once you have a window without a titlebar). j o a r _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
