Re: Horizontal scrollbar is not activated in TableView
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.