Skip navigation.
 
mlRe: [Q] Status Bar icon and Tiger
FROM : JongAm Park
DATE : Tue Jul 01 23:15:39 2008

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 *setScalesWhenResized*: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?

Related mailsAuthorDate
ml[Q] Status Bar icon and Tiger JongAm Park Jul 1, 16:53
mlRe: [Q] Status Bar icon and Tiger Peter Ammon Jul 1, 20:34
mlRe: [Q] Status Bar icon and Tiger Nathan Kinsinger Jul 1, 21:34
mlRe: [Q] Status Bar icon and Tiger JongAm Park Jul 1, 22:29
mlRe: [Q] Status Bar icon and Tiger JongAm Park Jul 1, 22:34
mlRe: [Q] Status Bar icon and Tiger JongAm Park Jul 1, 23:15
mlRe: [Q] Status Bar icon and Tiger JongAm Park Jul 1, 23:15