gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little query on matrix and setShowsFirstResponder


From: Jeff Teunissen
Subject: Re: Little query on matrix and setShowsFirstResponder
Date: Fri, 18 Apr 2003 08:04:38 -0400

Richard Frith-Macdonald wrote:

> NSMatrix now calls setShowsFirstResponder: on the currently selected
> cell, so that the text of that cell is drawn with a dotted outline.
> Where we have cells with images as well as text (like in the Gorm
> 'toolbar') this can look really ugly.
> I worked around this by subclassing the NSButtonCell used to ignore
> setShowsFirstResponder:  ...  but this seems a little clumsy.
> Does anyone know of a better solution?

[cell setRefusesFirstResponder: YES]; is one way.

-- 
| Jeff Teunissen  -=-  Pres., Dusk To Dawn Computing  -=-  deek @ d2dc.net
| GPG: 1024D/9840105A   7102 808A 7733 C2F3 097B  161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project        http://www.quakeforge.net/
| Specializing in Debian GNU/Linux              http://www.d2dc.net/~deek/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]