source: trunk/ICeCoffEE/ICeCoffEE/ICeCoffEETestWController.m@ 184

Last change on this file since 184 was 66, checked in by Nicholas Riley, 19 years ago

Initial import.

File size: 578 bytes
RevLine 
[66]1//
2// ICeCoffEETestWController.m
3// ICeCoffEE
4//
5// Created by Nicholas Riley on Mon Jan 28 2002.
6// Copyright (c) 2001 Nicholas Riley. All rights reserved.
7//
8
9#import "ICeCoffEETestWController.h"
10
11
12@implementation ICeCoffEETestWController
13
14- (IBAction)toggleDrawer:(NSButton *)sender {
15 NSDrawer *drawer = [[[self window] drawers] objectAtIndex: 0];
16 NSSize size;
17 // work around bug that sets content size to 200x200 no matter what (!?)
18 size = [drawer contentSize];
19 size.height = 56;
20 [drawer setContentSize: size];
21 [drawer toggle: self];
22}
23
24@end
Note: See TracBrowser for help on using the repository browser.