• 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: [Q] Status Bar icon and Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Status Bar icon and Tiger


  • Subject: Re: [Q] Status Bar icon and Tiger
  • From: JongAm Park <email@hidden>
  • Date: Tue, 01 Jul 2008 14:15:23 -0700

Hello, all.

I solved this problem for myself.

The reason was that the Tiger behaves differently from the Leopard.
On a Tiger ( MacPro 2 2.66Ghz DualCore Intel Xeon processor ), it needed a call setScalesWhenResized: .


So the whole code looks like :

NSSize imageSize;
activeCompanyImage = [[NSImage alloc] initWithContentsOfFile:activeCompanyImagePath];
imageSize = [activeCompanyImage size];
imageSize.width *= 0.3;
imageSize.height *= 0.3;
[activeCompanyImage *setScalesWhenReseizd*:YES]; // This line is additional for the Tiger
[activeCompanyImage setSize:imageSize];


I would like to report this.
Should it be a bug? Or just some note on the documentation can be enough?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >[Q] Status Bar icon and Tiger (From: JongAm Park <email@hidden>)
 >Re: [Q] Status Bar icon and Tiger (From: Nathan Kinsinger <email@hidden>)

  • Prev by Date: Re: KVO Bug With Keypaths
  • Next by Date: Re: [Q] Status Bar icon and Tiger
  • Previous by thread: Re: [Q] Status Bar icon and Tiger
  • Next by thread: Re: [Q] Status Bar icon and Tiger
  • Index(es):
    • Date
    • Thread