Re: Large progress indicators in Leopard
Re: Large progress indicators in Leopard
- Subject: Re: Large progress indicators in Leopard
- From: Ricky Sharp <email@hidden>
- Date: Fri, 23 Nov 2007 15:41:00 -0600
On Nov 23, 2007, at 3:11 PM, email@hidden wrote:
I tried downscaling but it didn't help. It seems the max size of the
progress indicator is some 30x30 px. If the actual rect is larger,
it's drawn in white. Yet NSProgressIndicator is a subclass of NSView
so I figure I should be able to make it any size I want. Could this be
a bug?
Perhaps not really a bug, but now a limitation. Definitely file an
enhancement request. As John pointing out, the control could have
been already modified to support Hi-DPI (aka resolution
independence). My guess is that Apple is using bitmapped images and
are just providing multi-res flavors (72 dpi and 288 dpi).
But, IMO, that's bad! If I were implementing the control, I would
allow any size and would either vector-based images (e.g. PDF) or
drawing primitives for the content.
Note that you'll see the same issues for most other controls as well.
While they do support res-ind, their sizes are pretty much fixed point-
wise.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden