Re: Changing NSTextFieldCells' editing appearance?
Re: Changing NSTextFieldCells' editing appearance?
- Subject: Re: Changing NSTextFieldCells' editing appearance?
- From: Ross Carter <email@hidden>
- Date: Sat, 16 Aug 2008 10:29:27 -0400
On Aug 15, 2008, at 1:41 PM, email@hidden wrote:
-setBackgroundColor: didn't work?
Nope, it didn't. But even if it would've, the background would have
been
visible at all times. I'm sorry if I didn't write clearly enough,
but it's
only when the cell is being edited that the background becomes black
(Instead of white like it usually does). When I'm not editing the
cell,
the cell doesn't have a background.
To change the background color, and the foreground color too for that
matter, you could supply a custom field editor and override
setSelectedTextAttributes:.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden