Re: Shading? Maybe just a blue background?
Re: Shading? Maybe just a blue background?
- Subject: Re: Shading? Maybe just a blue background?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 9 Mar 2005 13:53:17 +0100
At 6:28 Uhr -0500 09.03.2005, Lally Singh wrote:
I'm trying to get an NSButtonCell to draw a shaded rect with a blue
tint, like the selected column in an NSTableColumn. How do I pull
that off? Making it selected just makes it have a grey background.
I don't think there's a documented way for doing that (IIRC table
headers consist of one private cell that does the button, and the
publicly accessible header cell that draws the title).
However, you could try creating your own view or cell that uses the
HITheme API to draw a table header, I think.
Note that this is only a good idea if you really want a table
header. If you just want a pushbutton that highlights blue, don't do
it. It'd only make your app look odd compared to all the others and
probably confuse users.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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