• 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 without nsscrollview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nstableview without nsscrollview


  • Subject: Re: nstableview without nsscrollview
  • From: email@hidden
  • Date: Wed, 26 Sep 2012 12:28:05 +0000
  • Importance: Normal
  • Sensitivity: Normal

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

Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Alfian Busyro <email@hidden>
Sender: cocoa-dev-bounces+zav=email@hiddente: Wed, 26 Sep 2012 13:55:10
To: Corbin Dunn<email@hidden>
Cc: <email@hidden>
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@hidden>  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@hidden)

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:

This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >nstableview without nsscrollview (From: Alfian Busyro <email@hidden>)
 >Re: nstableview without nsscrollview (From: Kyle Sluder <email@hidden>)
 >Re: nstableview without nsscrollview (From: Alfian Busyro <email@hidden>)
 >Re: nstableview without nsscrollview (From: Corbin Dunn <email@hidden>)
 >Re: nstableview without nsscrollview (From: Alfian Busyro <email@hidden>)

  • Prev by Date: Re: drawGlyphsForGlyphRange layout issue
  • Next by Date: Re: app developed for iPhone is compatible with iPad
  • Previous by thread: Re: nstableview without nsscrollview
  • Next by thread: NSTableView & setContentMaxSize:
  • Index(es):
    • Date
    • Thread