[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: [semi-PATCH] menu title bar sizing & menu close button
From:
Fred Kiefer
Subject:
Re: [semi-PATCH] menu title bar sizing & menu close button
Date:
2003年3月17日 02:54:03 +0100
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903
Hi Michael,
Michael Hanni wrote:
> Issues:
>
> * NSButton does not honor (NSControl) setRefusesFirstResponder:. I'm
not sure
> if thats correct or a bug. However, it does cause the dottedRect to
appear in
> the close button -- ugly.
OK, I looked at the code of NSControl and found what is wrong. The new
setting never gets used! NSControl does not ask the cell, if it accepts
first responder. I will clean this up, now that CVS is finally working
again.
There are also a lot of problems with setShowsFirstResponder:. I think
from the documentation that this only indicates that the dotted line
will be drawn, when the cells also becomes first responder. But our
current code treats this as unconditional, the value itself determines
if the dots get drawn. This value is screwed up by the current code in
NSButton, whenever the button becomes first responder. And even worse in
NSMatrix. I would like to change this, so that the redraw code of NSCell
takes over the processing of showsFirstResponder (drawing the dotted
frame whenever the control is the first responder and the cell is the
selected cell of the responder) and just selecting the cell everywhere
else. Is this solution fine for everybody?
BTW: Does anybody know, if showsFirstResponder being YES should be the
default on NSButton?
Fred
- [semi-PATCH] menu title bar sizing & menu close button , Michael Hanni, 2003年03月13日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Serg Stoyan, 2003年03月14日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Michael Hanni, 2003年03月14日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Willem Rein Oudshoorn, 2003年03月14日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Serg Stoyan, 2003年03月14日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Serg Stoyan, 2003年03月14日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Willem Rein Oudshoorn, 2003年03月15日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Adam Fedor, 2003年03月15日
- Re: [semi-PATCH] menu title bar sizing & menu close button , Serg Stoyan, 2003年03月17日
Re: [semi-PATCH] menu title bar sizing & menu close button,
Fred Kiefer <=