FROM : slasktrattenator
DATE : Fri Nov 23 22:11:03 2007
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_removed>> wrote:
> Both width and height is set to (screen width / 15).
>
>
> On Nov 23, 2007 7:53 PM, John Stiles <<email_removed>> 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_removed> 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_removed>)
> > >
> > > 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:
> > > http://lists.apple.com/mailman/options/cocoa-dev/jstiles%
> > > 40blizzard.com
> > >
> > > This email sent to <email_removed>
> >
> >
>
DATE : Fri Nov 23 22:11:03 2007
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_removed>> wrote:
> Both width and height is set to (screen width / 15).
>
>
> On Nov 23, 2007 7:53 PM, John Stiles <<email_removed>> 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_removed> 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_removed>)
> > >
> > > 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:
> > > http://lists.apple.com/mailman/options/cocoa-dev/jstiles%
> > > 40blizzard.com
> > >
> > > This email sent to <email_removed>
> >
> >
>
| Related mails | Author | Date |
|---|---|---|
| slasktrattenator | Nov 23, 17:10 | |
| Andreas Mayer | Nov 23, 17:18 | |
| John Stiles | Nov 23, 19:53 | |
| slasktrattenator | Nov 23, 20:14 | |
| slasktrattenator | Nov 23, 22:11 | |
| Ricky Sharp | Nov 23, 22:41 | |
| slasktrattenator | Nov 23, 23:00 | |
| slasktrattenator | Nov 24, 00:40 | |
| Chris Hanson | Nov 24, 07:30 | |
| Ricky Sharp | Nov 24, 14:35 |






Cocoa mail archive

