• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDrawer returning large NSSize values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSDrawer returning large NSSize values
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Rotating Images....
  • Next by Date: NSTimer issue, NSCalendarDate issue
  • Previous by thread: Re: Delaying mouseDragged event
  • Next by thread: Re: NSDrawer returning large NSSize values
  • Index(es):
    • Date
    • Thread