Re: Highlighting Cell Problem
Re: Highlighting Cell Problem
- Subject: Re: Highlighting Cell Problem
- From: Oliver Cameron <email@hidden>
- Date: Sun, 30 Jan 2005 10:42:13 +0000
The problem seems to be this bit of code:
frame.origin.y += 1;
It basically seems to be moving down everything a pixel, including the
selection. I don't see any other way to actually get the text to move
down a pixel, any ideas?
Thanks,
Oliver
On 30 Jan 2005, at 00:35, M. Uli Kusterer wrote:
At 23:29 Uhr +0000 29.01.2005, Oliver Cameron wrote:
http://www.talacia.com/2.jpg
And of-course, the isHighlighted code doesn't seem to work either (in
some ways).
The weird thing is, if I just set my cell to completely default (get
rid of the NSTextFieldCell subclass too), I don't get the weird
artefacts, but the isHighlighted code doesn't work aswell.
The second one looks like the cell's superclass code is drawing its
highlight on top of what you're drawing. Maybe that'll help somehow?
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden