Skip navigation.
 
mlRe: Weirdness with NSTableView's scroll bars
FROM : John Hansen
DATE : Mon Nov 18 23:31:03 2002

I am also experiencing this problem with my application.  Is this a known
issue?

John Hansen
Symantec Inc.

on 11/6/02 10:20 AM, Tamara L. Cravit at <email_removed>
wrote:

> 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_removed>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.

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

Related mailsAuthorDate
mlWeirdness with NSTableView's scroll bars Tamara L. Cravit Nov 6, 19:20
mlRe: Weirdness with NSTableView's scroll bars John Hansen Nov 18, 23:31
mlRe: Weirdness with NSTableView's scroll bars Jim Correia Nov 19, 02:50