in case anyone is following:
from within a method defined on my subclass of NSTextField i sent:
[[self cell] setBackgroundStyle:interface.isDark() ? NSBackgroundStyleDark :
NSBackgroundStyleLight];
no apparent affect—text color, background color, or highlight.
thanks again, ken, for mentioning
> On Mar 2, 2015, at 5:34 PM, Ken Thomases wrote:
>
> On Mar 2, 2015, at 3:51 PM, edward taffel wrote:
>
>> has anyone had success in changing NSTextField’s default highlight? e.g.,
>> given bright text on a dark background, the default highlight is not
>> serviceable. i had hoped subclassin
On Mar 2, 2015, at 3:51 PM, edward taffel wrote:
> has anyone had success in changing NSTextField’s default highlight? e.g.,
> given bright text on a dark background, the default highlight is not
> serviceable. i had hoped subclassing NSTextFieldCell & overriding
> -(id)_highlightColorForCell:
has anyone had success in changing NSTextField’s default highlight? e.g., given
bright text on a dark background, the default highlight is not serviceable. i
had hoped subclassing NSTextFieldCell & overriding
-(id)_highlightColorForCell:(NSCell*)cell would work, as it does in instances
of NSTex