Re: Drawing text on top of a progress bar
Re: Drawing text on top of a progress bar
- Subject: Re: Drawing text on top of a progress bar
- From: Derrick Bass <email@hidden>
- Date: Wed, 14 Jun 2006 00:01:37 -0500
On Jun 13, 2006, at 10:55 PM, Sherm Pendley wrote:
Have you tried subclassing NSProgressIndicator? You could override -
drawRect: to first call super's -drawRect:, which would take care
of the progress bar. Then you could use NSString's -
drawInRect:options:attributes: to draw your text over that.
Gah, now why didn't I think of that? Well, that's definitely better.
But now the problem is that when the progress indicator is set to
something other than its minimum or maximum, the "heart bear"
animation overprints the text.
Derrick
_______________________________________________
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