Hiding zoom & minimize buttons
Hiding zoom & minimize buttons
- Subject: Hiding zoom & minimize buttons
- From: David Catmull <email@hidden>
- Date: Tue, 28 Mar 2006 16:27:28 -0800
I want to hide the zoom and minimize buttons in a utility window
because I don't use them and they're taking up too much space (the
HIG says I can just have a close button). Turning them off in
Interface Builder just disables them; doing this on a Carbon nib
actually removes them. If I access them with standardWindowButton:
and hide them manually with setHidden:, then that part of the title
bar doesn't respond to clicks and the window title is still offset to
the right.
Can this be done in Cocoa with a reasonable amount of work (ie
without recreating the title bar myself)? I see Pages' inspector
window doesn't bother hiding them.
--
David Catmull
email@hidden
http://www.uncommonplace.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden