Re: Large progress indicators in Leopard
Re: Large progress indicators in Leopard
- Subject: Re: Large progress indicators in Leopard
- From: email@hidden
- Date: Fri, 23 Nov 2007 22:11:03 +0100
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?
On Nov 23, 2007 8:14 PM, <email@hidden> wrote:
> Both width and height is set to (screen width / 15).
>
>
> On Nov 23, 2007 7:53 PM, John Stiles <email@hidden> wrote:
> > How large are you setting the rectangle?
> > I know there have been some changes in Leopard for better high-DPI
> > support and this change might be another consequence of that.
> >
> >
> > On Nov 23, 2007, at 8:10 AM, email@hidden wrote:
> >
> > > In Tiger, I could create a large progress indicator by setting its
> > > size to NSRegularControlSize:
> > >
> > > NSProgressIndicator *busyCursor = [[[NSProgressIndicator alloc]
> > > initWithFrame:rect] autorelease];
> > > [busyCursor setStyle:NSProgressIndicatorSpinningStyle];
> > > [busyCursor setControlSize:NSRegularControlSize];
> > >
> > > This would make the progress indicator fit nicely inside the rect. Now
> > > in Leopard, the size of the indicator seems non-adjustable. It's
> > > always small, whereas the rest of the rect draws white. Is it no
> > > longer possible to draw custom-sized progress indicators?
> > > _______________________________________________
> > >
> > > 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:
> > > 40blizzard.com
> > >
> > > This email sent to email@hidden
> >
> >
>
_______________________________________________
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