• 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: Horizontal scrollbar is not activated in TableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Horizontal scrollbar is not activated in TableView


  • Subject: Re: Horizontal scrollbar is not activated in TableView
  • From: Angela Brett <email@hidden>
  • Date: Thu, 15 Jan 2004 14:02:35 +1300

Hi,

In my Cocoa/Object-C application I'm using a TableView. In the table view
the vertical scroll bar is activated as soon as the list grows vertically,
but the horizontal scrollbar is not activated when the content of a row is
larger that the horizontal size of the table view.

Any kind of help would be appriciated.

Thanks,
Suman

Hi,

Did anyone find a solution to this problem? I have the same problem and it's been bugging me for ages. I keep trying different combinations of making the table and columns resizeable and/or making the tableview autoresize columns to fit, changing the table's autoresizing, even manually calling methods like sizeToFit or tile after -reloadData, but to no avail. The two tables affected only have one column each and I wonder if that might have anything to do with it. I've searched the archives and found many questions where the poster had simply forgotten to call -reloadData, some about horizontal scrollers with slightly different objectives, but I have yet to find a way to simply make the table column resize to the width of the widest row in it and show the horizontal scrollbar as necessary. The documentation seems to indicate that 'Autoresizes Columns to fit' actually resizes columns to fit in the width of the table view rather than to fit the width of the data.
--
Angela Brett email@hidden http://macintosh.geek.nz
_______________________________________________
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: NSCacheImageRep woes
  • Next by Date: Re: [help!] a strange crash (to me) [SOLVED, i think]...
  • Previous by thread: Re: NSTask, Perl, HTML
  • Next by thread: Adding my own Properties for Objects
  • Index(es):
    • Date
    • Thread