Hello, all.

Can anyone help me to figure out an issue regarding to a status menu width issue on Tiger?
The project I work on is for the Tiger and the Leopard.

I used this code to set an icon, which is longer horizontally than vertically, and it worked on the Leopard.

NSStatusBar *statusBar = [NSStatusBar systemStatusBar];

// Because it is a eps version of our company's name, it is longer horizontally. So, I used
// NSVariableStatusItemLength instead of NSSquareStatusItemLength
statusBarItem = [[statusBar statusItemWithLength: NSVariableStatusItemLength] retain];

[statusBarItem setImage:inactiveCompanyImage];
[statusBarItem setEnabled:YES];
[statusBarItem setToolTip:@"Blah blah.."];
[statusBarItem setHighlightMode:YES];

It works nicely with the Leopard, but our support team people say that it doesn't with the Tiger. I'm suspicious if they use a small status bar program for displaying CPU temperature, etc.
(During the ToolBox era, I noticed such a case.. )

I would appreciate any help.

Thank you.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to