NSDrawer returning large NSSize values
NSDrawer returning large NSSize values
- Subject: NSDrawer returning large NSSize values
- From: Michael Hanna <email@hidden>
- Date: Sun, 27 Jun 2004 10:07:16 -0400
This code:
-(void)awakeFromNib
{
NSUserDefaults *defaults;
NSNumber *value;
//NSRect drawerRect;
NSSize aSize;
NSView *drawerView = [bottDrawer contentView];
aSize = [drawerView frame].size;
//aSize = drawerRect.size;
NSLog(@"drawerview size awake: %d, %d", aSize.height, aSize.width);
....
results in:
2004-06-27 09:56:29.598 NiceTimer[6803] drawerview size awake:
1080623104, 0
2004-06-27 09:56:29.614 NiceTimer[6803] drawerview size: 1080623104, 0
which of course can't be right. This is a real problem because when I
resize the window to adjust the drawer offsets, it expands massively
wide.
any ideas would be appreciated.
Michael
_______________________________________________
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.