Re: Problem with drawer
Re: Problem with drawer
- Subject: Re: Problem with drawer
- From: Tim Hewett <email@hidden>
- Date: Wed, 2 Jun 2004 08:58:18 +0100
I just had this exact problem myself. It was caused by the drawer
minimum width/height being set to the same size as the content
view just before the drawer was opened - I cut those lines out and
it was fine after that. It is possible that the content view frame was
larger than the drawer size as determined by the leading and
trailing offsets, and that after it was displayed the content view
was resized to fit, but to a size smaller than the minimums
previously set, leaving the window being unable to become any
smaller. Anyway check out the drawer minimum content size values.
BTW has anyone managed to get a window to resize properly
when its content view is a split view? Whenever I try this the window
will only grow larger horizontally, it will never shrink. Junk the
split view and all returns to normal...
HTH,
Tim.
On 1 Jun 2004, at 21:51, email@hidden wrote:
I did. The drawer works fine. The window has the problem. It gets
bigger. No matter what I try to do.
On 1 Ioum 2004, at 3:31 pl, Daniel Todd Currie wrote:
Are you implementing -windowDidResize: in your window delegate?
You'll need to update the drawer width every time the window width is
changed.
-- D
On 2004 May 31, at 12:27, Panos Athanasiadis wrote:
Hi.
I am trying to create a window on the left side of my app's window
just like the bottom drawer in the DrawerMadness example from Apple
(a drawer that will have the same size when the window resizes). I
used the code from the example but when I resize the window it gets
bigger no matter which direction I drag the window. It won't get
small. What is the problem? How can I create a drawer that will have
always the same size without affecting the window?
Thanks.
_______________________________________________
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.