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: Thu, 15 Jun 2006 00:09:32 -0500
On Jun 14, 2006, at 4:56 AM, Uli Kusterer wrote:
That said, have you thought about doing it the way Installer does
it? With a bullet list at the left, and then a progress bar at the
right in its own pane?
Yeah, I thought about it. But it takes up a lot of room. In
Installer, things are a little different because in each step, except
for the actual installation, it's not the installer that's doing
something, but the user. So the bullet list at the left makes sense
at all times. In our app, the user selects some options and clicks
start, and then the app does its thing. I suppose we could pop out a
drawer or replace the UI with progress indicators, but ... yuck!
*never* setFrame: from a drawRect method. setFrame may cause window
content to be marked as needing to be redrawn, and thus can cause
drawRect to be called again, thus eventually causing a sort of
endless loop.
Okay. The reason I did that was that I could not figure out how to
properly resize subviews when my custom view gets resized, so I just
sized them in drawRect. But I just found the docs on how to do that
correctly.
You may want to take this to the mac-gui-dev Yahoo group. There's
lots of people there who'd love to offer various usability
suggestions etc.
Thanks. I'll look into it.
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