Re: Highlighting Cell Problem
Re: Highlighting Cell Problem
- Subject: Re: Highlighting Cell Problem
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 31 Jan 2005 07:24:03 +0100
At 10:42 Uhr +0000 30.01.2005, Oliver Cameron wrote:
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?
Well, the NSCell code you're calling through to to do the text
drawing apparently also draws its selection. So, either you have to
find some way to keep it from drawing the selection (like trying to
clip drawing or making it temporarily unselected or something like
that), or you have to draw the text yourself.
--
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