Re: NSTableView within NSScrollView in code
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