Re: NSButton Colour?
Re: NSButton Colour?
- Subject: Re: NSButton Colour?
- From: Colin Doncaster <email@hidden>
- Date: Tue, 17 Sep 2002 08:32:34 -0700
On Tuesday, September 17, 2002, at 05:11 AM, Ondra Cada wrote:
On Tuesday, September 17, 2002, at 08:23 , Colin Doncaster wrote:
Sorry for such a simple question, but how do I change the colour of a
button?
Generally, you don't. The main reason is that Apple does not want us
to do that. The technical one is that, so far as I know (did not check
myself!) actually a bitmap image is used for the background, and thus
the change is non-trivial.
Wow! I understand having a standard interface but forcing a colour
palette is maybe a little extreme. I'm working on a graphics
application and when dealing with colour correction the last thing
would want is bright buttons sticking out, you want a neutral gray
interface. Maybe it's a specific case but now this means I have to use
a different GUI toolkit and can't take advantage of a lot of strengths
of working with Cocoa. Is the square buttons image based also?
Thanks for all the information.
Cheers, Colin.
_______________________________________________
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.