|
From: | Sergii Stoian |
Subject: | Re: [Gnustep-cvs] r24671 - /libs/gui/trunk/Source/NSAlert.m |
Date: | Wed, 21 Feb 2007 13:57:18 +0200 |
I am not sure, but wouldn't it be better to just switch of the display
of the first responder frame by calling setShowsFirstResponder: on the
cell with NO as the argument?
On a not so related issue, you had to set the highlight behaviour for
these buttons explicitly. What about setting the type of all these
buttons to be NSMomentaryPushInButton in _makeButtonWithRect:. This
looks more consistent to me. The default button would still be different
though.
Sergii Stoian schrieb:
> Author: stoyan
> Date: Wed Feb 21 01:46:01 2007
> New Revision: 24671
>
> URL: http://svn.gna.org/viewcvs/gnustep?rev=24671&view=rev
> Log:
> * Source/NSAlert.m: (-_initWithoutGModel):
> Make buttons refuse first responder to avoid drawing
> dashed frame.
>
> Modified:
> libs/gui/trunk/Source/NSAlert.m
>
[Prev in Thread] | Current Thread | [Next in Thread] |