• 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
Weirdness with NSTableView's scroll bars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weirdness with NSTableView's scroll bars


  • Subject: Weirdness with NSTableView's scroll bars
  • From: "Tamara L. Cravit" <email@hidden>
  • Date: Wed, 6 Nov 2002 10:20:32 -0800

Hi, all,

Thanks to the wonderful help I've gotten here, my first Cocoa app is almost
finished (and my client is pretty thrilled, which is a Good Thing.) However,
in cleaning things up, I've run into a weirdness with NSTableView that I'm
hoping someone can help me with. I have an NSTableView in my MainMenu.nib to
which I add a huge list of stuff (over 50). It's set to be about 8 rows
high, and the following attributes are set in Interface Builder:

Selection: Allows empty selection
Scrollbars: Vertical, Small
Options: Allows resizing, Display column headers

Here's the weirdness. When the app starts, my dataModel code is properly
being called, and is properly adding all fifty-some entries to the table.
But, the scrollbar doesn't show on the table. If I drag and resize a column
header in the table, when it finishes reloading its data the scrollbar
magically appears.

I've tried sending a tile message to the table, as well as sending
noteNumberOfRowsChanged, but neither of these seems to solve the problem. I
don't want the user to have to resize the column in order to make the
scrollbars appear (obviously).

Is this a known issue, or am I doing something brainlessly dumb here? Is
there a way to make this behave correctly? If it makes any difference, the
development machine my client's supplied is an iMac running MacOS X 10.1
with the April 2002 version of the development tools.

Thanks in advance, and many thanks for all the help you've all provided me
so far!

Tamara
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: To all cocoa developers - new cocoa dev forum
  • Next by Date: Re: To all cocoa developers - new cocoa dev forum
  • Previous by thread: acceptFirstResponder
  • Next by thread: Re: Weirdness with NSTableView's scroll bars
  • Index(es):
    • Date
    • Thread