• 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
Narrowing in on NSTableView problem..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Narrowing in on NSTableView problem..


  • Subject: Narrowing in on NSTableView problem..
  • From: Jeff LaMarche <email@hidden>
  • Date: Thu, 18 Oct 2001 22:19:10 -0700

Okay, hoping maybe what I've discovered in the last few days of working with this will allow someone out there to tell me what I'm doing wrong.

Here's the scenario -

I have an NSTableView. The row size is set to 75 to show thumbnail pictures along with some other items. I provide an NSImageCell to the column with the thumbnail in the AwakeFromNib method (although I have also tried it in WindowDidLoad and the results were the same), but the problem exists even if I comment out this code.

The problem is the topmost row in the view can't be selected with the mouse. Sometimes I can catch the bottom pixel or two of the row and it will work, but usually I can't select it at all. If, however, I turn of the column headers, it works properly.

What it looks to me like is happening is that header row remains at the default size, but it THINKS that the header row takes up the same amount of space as the other rows, so thinks I'm clicking in the header when I'm actually clicking on the first row. My next step is going to be to try to confirm this by turning on column reordering so that it tries to pick up clicks on the header row.

Has anyone seen anything like this? Does it sound like a bug, or am I not doing something I need to, like explicitly setting the height of the header column?

Thanks for any thoughts you may have...


  • Prev by Date: Re: Pointers to methods (or functions, for that matter)
  • Next by Date: Re: display special characters
  • Previous by thread: Re: Resolution of JPEG
  • Next by thread: private methods?
  • Index(es):
    • Date
    • Thread