• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drawing text on top of a progress bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Drawing text on top of a progress bar
      • From: John Stiles <email@hidden>
References: 
 >Drawing text on top of a progress bar (From: Derrick Bass <email@hidden>)
 >Re: Drawing text on top of a progress bar (From: Damien Sorresso <email@hidden>)
 >Re: Drawing text on top of a progress bar (From: email@hidden)
 >Re: Drawing text on top of a progress bar (From: John Stiles <email@hidden>)
 >Re: Drawing text on top of a progress bar (From: Derrick Bass <email@hidden>)
 >Re: Drawing text on top of a progress bar (From: Uli Kusterer <email@hidden>)

  • Prev by Date: real noob question about CF functions with Cocoa
  • Next by Date: Re: real noob question about CF functions with Cocoa
  • Previous by thread: Re: Drawing text on top of a progress bar
  • Next by thread: Re: Drawing text on top of a progress bar
  • Index(es):
    • Date
    • Thread