• 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: NSTableView and Scrollbars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and Scrollbars


  • Subject: Re: NSTableView and Scrollbars
  • From: Denis Stanton <email@hidden>
  • Date: Thu, 17 Apr 2003 11:28:43 +1200

David

On Thursday, April 17, 2003, at 09:38 AM, David Blanton wrote:

> I have an NSTableView with Vertical Scroll Bars (small) selected in IB
> attributes. Nine (9) items can been seen in the view. The array of
> items
> contains 50.
>
> What do I have to do to get scroll bars to show? Currently there is a
> placeholder for the scroll bars but not scrollers appear.

I believe you are seeing the same problem (bug?) that I see in using
scroll bars. When my tableView is first displayed there are no scroll
bars, even though the number of lines exceeds the number displayed and
the option to show vertical scroll bars is checked in IB. I have to
drag the resize box slightly, causing a redraw, before the scroll bars
get drawn. It seems that the nib file lays out the tableView before
it checks the table size and realizes that the scroll bars are needed.
Contrary to advice seen on this list calling [myTableView reloadData];
after building the array that will be displayed does not seem to help.
I would be pleased to see any suggestion on how to cause the tableView
to recognize that it needs to show its scroll bars on first display.

I have seen this same problem in Internet Explorer - that's how I found
the drag workaround.

Denis
_______________________________________________
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.

References: 
 >NSTableView and Scrollbars (From: David Blanton <email@hidden>)

  • Prev by Date: Re: NSTableView and Scrollbars
  • Next by Date: Re: NSTextView - read line by line?
  • Previous by thread: Re: NSTableView and Scrollbars
  • Next by thread: test
  • Index(es):
    • Date
    • Thread