• 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: NSButton Colour?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSButton Colour?
      • From: Sherm Pendley <email@hidden>
    • Re: NSButton Colour?
      • From: Ondra Cada <email@hidden>
    • Re: NSButton Colour?
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Re: NSButton Colour? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Toplevel Objects in NIB files
  • Next by Date: 10.2 PB crashing
  • Previous by thread: Re: NSButton Colour?
  • Next by thread: Re: NSButton Colour?
  • Index(es):
    • Date
    • Thread