• 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
Re: Cocoa UI Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa UI Size


  • Subject: Re: Cocoa UI Size
  • From: Urs Heckmann <email@hidden>
  • Date: Thu, 10 Jun 2010 19:01:44 +0200

Another follow up,

in 64-Bit mode AULab opens the window correctly. It only fails to do so in 32-Bit mode (regardless if a CarbonView is present or not).

I've tested in other hosts including Logic, and they open the Cocoa Window correctly.

I'll call it a bug in AU Lab then and move on.

Cheers,

;)  Urs

Am 08.06.2010 um 16:44 schrieb Urs Heckmann:

> Okay,
>
> So I went a bit further on this.
>
> I implemented my own setFrame and viewDidMoveToSuperview.
>
> - (void)setFrame:(NSRect)frameRect
> {
> 	[super setFrame:frameRect];
>
> 	NSLog(@"setFrame to %f %f %f %f", frameRect.origin.x, frameRect.origin.y, frameRect.size.width, frameRect.size.height );
> }
>
> -(void)viewDidMoveToSuperview
> {
> 	NSRect	frame = [self frame];
>
> 	NSLog(@"moved to superview %f %f %f %f", frame.origin.x, frame.origin.y, frame.size.width, frame.size.height );
> }
>
> Here's what I get in the Debugger Console:
>
> 2010-06-08 16:28:53.411 AU Lab[3411:a0f] setFrame to 0.000000 0.000000 1018.000000 659.000000
> 2010-06-08 16:28:53.412 AU Lab[3411:a0f] all set up now!
> 2010-06-08 16:28:53.427 AU Lab[3411:a0f] moved to superview 0.000000 0.000000 1018.000000 659.000000
> 2010-06-08 16:28:53.435 AU Lab[3411:a0f] setFrame to 0.000000 0.000000 340.000000 121.000000
>
> So. My code has correctly set teh view size to 1018 x 659 pixels. However, after AULab adds my view as a subview it resizes it to some odd 340 x 121 pixels.
>
> So it'a clearly a bug in AULab then?
>
> Cheers,
>
> ;)  Urs



urs heckmann
email@hidden
www.u-he.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Cocoa UI Size (From: Urs Heckmann <email@hidden>)
 >Re: Cocoa UI Size (From: Urs Heckmann <email@hidden>)

  • Prev by Date: Play from Audio CD
  • Next by Date: Displaying an AudioUnitCarbonView in a Cocoa application?
  • Previous by thread: Re: Cocoa UI Size
  • Next by thread: RemoteIO and iPad class compliant interface issues
  • Index(es):
    • Date
    • Thread