Re: NSButton Colour?
Re: NSButton Colour?
- Subject: Re: NSButton Colour?
- From: Jeremy Dronfield <email@hidden>
- Date: Tue, 17 Sep 2002 11:23:41 +0100
On Tuesday, September 17, 2002, at 07:23 am, Colin Doncaster wrote:
Hi there,
Sorry for such a simple question, but how do I change the colour of a
button?
You wouldn't want to. The background colour of a button is in the
button's containing rect, not in the *button* image. You sometimes (very
rarely) see this when changing the background colour of a window, if
there's a lag between the window colour changing and the button
background catching up. Instead of seeing a different-coloured button,
you get a button on a different-coloured rectangle.
To get a button of a different colour, you will need to create your own
custom button image.
-Jeremy
========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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.