Menu itemhighlighting flakey in panther
Menu itemhighlighting flakey in panther
- Subject: Menu itemhighlighting flakey in panther
- From: Tavis <email@hidden>
- Date: Mon, 24 Nov 2003 15:09:06 -0800
Hi,
I have an NSStatusBar and it works fine but on panther when you roll
over the menu items, the highlighting is messed up. It doesnt hilite
the width of the menu, only the width of the text in that menu item and
sometimes parts of the highlight linger in a menu item when you roll
mouse away.
Any ideas whats going on?
Heres my code:
statusItem = [[NSStatusBar systemStatusBar]
statusItemWithLength:NSSquareStatusItemLength];
[statusItem retain]; [statusItem setHighlightMode:YES];
[statusItem setMenu:theMenu];
[statusItem setEnabled:YES];
[statusItem setTarget:self];
[statusItem setAction:@selector(menuClicked:)];
[statusItem sendActionOn:NSLeftMouseDownMask];
_______________________________________________
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.