Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDrawer returning large NSSize values



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.