Re: Progress bar on front NSPanel is grey not blue??
Re: Progress bar on front NSPanel is grey not blue??
- Subject: Re: Progress bar on front NSPanel is grey not blue??
- From: Keary Suska <email@hidden>
- Date: Sat, 15 Apr 2006 13:48:40 -0600
on 4/15/06 4:11 AM, email@hidden purportedly said:
>> Are you sure that your panel is the Key window? If you put some
>> other controls on the same window, are they also grey?
>
> I added a button just now.
>
> http://www.elfdata.com/Picture1.png
>
> So strange.
>
> I even tried this!: [TheIndicator setControlTint:NSBlueControlTint];
>
> no change though.
Was the button a default button (i.e., the key equiv was set to <return>)?
If not, I would try that, as it may tell you a couple things: if the button
is solid gray, it means that the panel is displaying in the Graphite tint.
If it is white, it (generally) means that the window is not the key window.
BTW, last I heard, you couldn't change the control tint programmatically,
but I don't recall when that started or if it has changed.
Also, just for grins, you may want to try using an NSWindow instead (if you
didn't know, for the nib you can just change the custom class in IB instead
of re-creating). Doing this will also reveal any panel-specific options you
might be setting somewhere in your code that are probably unnecessary (such
as floating behavior).
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden