• 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: Large progress indicators in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Large progress indicators in Leopard
      • From: Ricky Sharp <email@hidden>
References: 
 >Large progress indicators in Leopard (From: email@hidden)
 >Re: Large progress indicators in Leopard (From: John Stiles <email@hidden>)
 >Re: Large progress indicators in Leopard (From: email@hidden)

  • Prev by Date: Re: With What does Apple Swizzle the IsA-pointer in KVO?
  • Next by Date: -nodesForXPath: and xmlns:foo
  • Previous by thread: Re: Large progress indicators in Leopard
  • Next by thread: Re: Large progress indicators in Leopard
  • Index(es):
    • Date
    • Thread