• 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 within NSScrollView in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView within NSScrollView in code


  • Subject: Re: NSTableView within NSScrollView in code
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 10 Nov 2010 21:37:33 -0800

On Wed, Nov 10, 2010 at 9:25 PM, Quincey Morris
<email@hidden> wrote:
>
> What am I missing, because the answer seems too easy? The table view won't resize automatically unless *its* 'autoresizingMask' tells it to do so, and you haven't set that. (You did set it for the scroll view, but that's a different view -- it's the table view's parent view's parent view.)

Table views do not require autoresize masks to size to fit their
enclosing scroll view. Try it yourself: drag an NSTableView out to a
window in IB and inspect its autoresize mask.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: NSTableView within NSScrollView in code
      • From: Quincey Morris <email@hidden>
References: 
 >NSTableView within NSScrollView in code (From: Patrick Mau <email@hidden>)
 >Re: NSTableView within NSScrollView in code (From: Kyle Sluder <email@hidden>)
 >Re: NSTableView within NSScrollView in code (From: Patrick Mau <email@hidden>)
 >Re: NSTableView within NSScrollView in code (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Moderator - Re: iPad 4.2 (deploy to 3.2.2) error
  • Next by Date: Re: NSTableView within NSScrollView in code
  • Previous by thread: Re: NSTableView within NSScrollView in code
  • Next by thread: Re: NSTableView within NSScrollView in code
  • Index(es):
    • Date
    • Thread