// // ICeCoffEETestWController.m // ICeCoffEE // // Created by Nicholas Riley on Mon Jan 28 2002. // Copyright (c) 2001 Nicholas Riley. All rights reserved. // #import "ICeCoffEETestWController.h" @implementation ICeCoffEETestWController - (IBAction)toggleDrawer:(NSButton *)sender { NSDrawer *drawer = [[[self window] drawers] objectAtIndex: 0]; NSSize size; // work around bug that sets content size to 200x200 no matter what (!?) size = [drawer contentSize]; size.height = 56; [drawer setContentSize: size]; [drawer toggle: self]; } @end