Re: NSProgressIndicator acting wonky
Re: NSProgressIndicator acting wonky
- Subject: Re: NSProgressIndicator acting wonky
- From: Gerben Wierda <email@hidden>
- Date: Sun, 6 Oct 2002 23:01:11 +0200
Another problem. I have this in windowDidLoad (I had it in awakeFromNib
first but there it does not work either):
[tasksRunningProgressIndicator
setStyle:NSProgressIndicatorSpinningStyle];
[tasksRunningProgressIndicator setDisplayedWhenStopped:NO];
[tasksRunningProgressIndicator startAnimation:nil];
[tasksRunningProgressIndicator stopAnimation:nil];
when I remove the last line, I get a spinning progress indiciator when
my window opens. But whith the last line, the progress indicator stops
but it does not disappear.
I tried a 10 sec sleep between start and stop animation and noticed
that windowDidLoad is called when the window has not been ordered out
yet! So, I needed to add
[[self window] makeKeyAndOrderFront:nil];
before the start/stop animation.
Should the fact that windowDidLoad is called before the window is
actually loaded be considered a cocoa bug?
G
On Sunday, Oct 6, 2002, at 12:39 Europe/Amsterdam, j o a r wrote:
Read the list archives - you need to save the nib file using the new
nib file format available in 10.2. That said, if you changed the type
in awakeFromNib: it should also work - it did for me when I tried.
j o a r
On Sunday, Oct 6, 2002, at 12:34 Europe/Stockholm, Jason Galarneau
wrote:
In my nib file, I set the NSProgressIndicator to be of the
'indeterminate' type, but it still looks like a mini-barberpole
In my app, I set it programmatically, and once it starts animating,
looks like the new little circular spinning widget that it's supposed
to be... but not at first... it still looks like a little square
barberpole
I tried setting the attributes in my awakeFromNib method, but no-dice
Am I missing something simple here... not a big deal right now...
just spit and polish. I really should be working on the guts anyway.
Thanks for any insight.
-JG
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.