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 03:34:15 -0500
On Jun 14, 2006, at 12:33 AM, John Stiles wrote:
Out of curiosity, why would one want text /inside/ a progress bar?
This sounds very Windows 3.1 to me. Mac apps don't do this. I hope
you're not trying to write a "percentage complete" value ;)
Not exactly. The app is performing a task that consists of multiple
steps. The trouble is, each of those steps proceeds at a different
rate that is fairly data dependent. So, although there is an overall
progress bar, it's not really very useful because there's no way to
linearize it consistently. I've never seen an app that handled this
very well, and now I know why! It's hard!
So we (or rather my employer; being lazy, I was content to just have
the nonlinear progress bar ;-)) wanted a way for the user to see what
steps had been performed and what steps still needed to be performed
and how far through the current step we'd gotten. What we came up
with was a sort of "segmented progress bar". So if there were 5
steps, we'd have 5 little progress bars lined up next to one other,
with a small gap between them. If we were halfway through the third
step, then the first two progress bars would be filled, the third
half-filled, and the last two empty. We wanted to label each little
progress bar with a short piece of text describing the step, e.g.
"copy", "encrypt", etc. For now we've placed the labels below the
progress bars, but it looks cooler with the text inside the progress
bar.
Anyway, we are certainly open to better interface ideas for providing
that sort of information!
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