Re: Flicker when resizing NSStatusItem with Custom View
Re: Flicker when resizing NSStatusItem with Custom View
- Subject: Re: Flicker when resizing NSStatusItem with Custom View
- From: Peter Ammon <email@hidden>
- Date: Mon, 21 Apr 2008 21:25:11 -0700
On Apr 21, 2008, at 5:23 PM, vance wrote:
Hi
I am seeing annoying flickering when resizing a status bar item
using a custom view.
I tried using
* [statusItem setLength:XX.X] and
* [customView setFrame:newFrame]
Hi Vance,
Thank you for your analysis. This is a known bug. You can work
around it by surrounding your call to setLength: with
NSDisableScreenUpdates() and NSEnableScreenUpdates();
Hope that helps,
-Peter
_______________________________________________
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