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

Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Alfian Busyro <[email protected]>
Sender: [email protected]: Wed, 26 Sep 2012 
13:55:10 
To: Corbin Dunn<[email protected]>
Cc: <[email protected]>
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<[email protected]>  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 ([email protected])

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 [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to