It is a view setting you can turn off in the IB.

Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Alfian Busyro <alfian.bus...@kddi-web.com>
Sender: cocoa-dev-bounces+zav=mac.com@lists.apple.comDate: Wed, 26 Sep 2012 
13:55:10 
To: Corbin Dunn<corb...@apple.com>
Cc: <Cocoa-dev@lists.apple.com>
Subject: Re: nstableview without nsscrollview

Thanks for the answer.
> Just leave it in a scrollview, and set it to not scroll in any direction, and 
> size the scrollview to the table's height/width. That's it.
>
Actually I did it, In IB I deselect "Show Horizontal Scroll" and "Show 
Vertical Scroll" the table view won't scroll but still bouncing if I try 
to scroll it within the scrollview.
I ended up using a custom list view that can with customizable section.

-- Alfian

On 12/09/13 6:41, Corbin Dunn wrote:
> On Sep 10, 2012, at 6:08 PM, Alfian Busyro<alfian.bus...@kddi-web.com>  wrote:
>
>> >Kyle, thanks for your solution.
>>> >>Think very hard about this. Why would you want to do this? What would
>>> >>you do if your table view gained enough data that it no longer fit in
>>> >>the available space?
>> >So I planning to make two tables in one view but I don't want to separate 
>> >that two tables with scroll,
>> >and make only the view (parent view of two tables) is scrollable.
> Just leave it in a scrollview, and set it to not scroll in any direction, and 
> size the scrollview to the table's height/width. That's it.
>
>> >The purpose is if user scroll down that parent view these two tables also 
>> >have to be scroll down too.
>> >Like sectional table view but with multiple tables, because I don't want to 
>> >make it sectional.
>>> >>Yes, table views can live outside of a scroll view, but it's not a
>>> >>simple task. -[NSTableView tile] loves to resize the table view to
>>> >>snugly fit its contents, and -tile will be called at arbitrary times.
>>> >>You can't call -setFrameSize: on a table view and expect it to stick.
>> >it seems pretty annoying.
> That table has to control its frameSize; there is no way around this if you 
> think about it.
>
> corbin
>
>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com

This email sent to z...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to