• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Highlighting Cell Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Highlighting Cell Problem (From: Oliver Cameron <email@hidden>)
 >Re: Highlighting Cell Problem (From: "M. Uli Kusterer" <email@hidden>)
 >Re: Highlighting Cell Problem (From: Oliver Cameron <email@hidden>)

  • Prev by Date: NSDocument setFileName - File Must Exist?
  • Next by Date: Re: Reference Materials
  • Previous by thread: Re: Highlighting Cell Problem
  • Next by thread: Text Becomes Clipping
  • Index(es):
    • Date
    • Thread