GC Drawer Madness
GC Drawer Madness
- Subject: GC Drawer Madness
- From: "Jeffrey J. Early" <email@hidden>
- Date: Sat, 08 Dec 2007 15:35:16 -0800
I have what appears to be a garbage collection bug with drawers and I
can't figure out a work around.
The basic problem is that a drawer won't resize with the parent window
when garbage collection is enabled. This is easily produced with the
DrawerMadness sample code. Run the code straight up, and the left
drawer nicely resizes as you resize the parent window. Enable garbage
collection, and suddenly the drawer on the left won't resize with the
parent window. If you 'jiggle' the drawer after the parent window
resized, it will snap to the appropriate position.
I have tried overriding drawerWillResizeContents:toSize, but despite
the documentation's claim that it's called when the drawer or parent
are resized, it only seems to be called when the drawer is resized,
not the parent. So it does no good.
Maybe I'm missing something obvious here -- help is definitely
appreciated.
thanks,
Jeffrey
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden