Re: Drawer size reverts to window size automatically. Why?
Re: Drawer size reverts to window size automatically. Why?
- Subject: Re: Drawer size reverts to window size automatically. Why?
- From: David Rehring <email@hidden>
- Date: Sun, 08 Sep 2002 00:33:31 -0700
On 9/7/02 11:28 PM, John McGruer at email@hidden wrote:
>
I have a window with a connected drawer - fairly standard except the drawer
>
is wider than the parent window. No probs - looks a little funny sliding
>
out, but works perfectly other than that. However, if a user tries to resize
>
the drawer the drawer immediately drops down to the same (to my eye) width
>
as the parent window - now only half the drawer can been seen and cannot be
>
resized larger without quitting and restarting. Closing and opening the
>
drawer doesn9t help.
>
>
I have tried both in IB and programmatically to set min sizes etc but
>
nothing seems to work - it9s as if Cocoa has decided that drawers should not
>
be wider than their parent windows and it9s not going to allow otherwise!!
>
>
Any help with this issue would be appreciated. Thanks...
I believe this is a HIG issue that's been coded into the drawer
implementation. The drawer is never supposed to be wider than the window
it's attached to. The implementation evidently enforces this in at least
some circumstances.
I think this is to match the desk with drawers metaphor, where [in probably
99.999% of the time], the drawers are always less than or equal to the depth
of the desk...
Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.