Re: Progress bar on front NSPanel is grey not blue??
Re: Progress bar on front NSPanel is grey not blue??
- Subject: Re: Progress bar on front NSPanel is grey not blue??
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 12 Apr 2006 13:46:42 -0700
On 4/12/06, Mike Abdullah <email@hidden> wrote:
> 2. Set your progress indicator to useThreadedAnimation: This will
> cause it by some magic to draw itself in the appropriate colour. You
> can then do away with the [p display] method which is nice.
>
> If you go with option 2, what i recommend doing is to subclass
> NSProgressIndicator just so that it sets the threaded animation
> property itself upon awakeFromNib.
No need to subclass just tell it to use threaded animation...
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSProgressIndicator.html#//apple_ref/occ/instm/NSProgressIndicator/setUsesThreadedAnimation:>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden