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 13:54:50 -0800
On Wed, Nov 10, 2010 at 1:34 PM, Patrick Mau <email@hidden> wrote:
>
> Hallo everyone
>
> When I embed an NSTableView in an NScrollView, everything works except
> column auto-resizing.
>
> What would trigger automatic column layout whenever the NSScrollView frame
> is reduced in size?
The columns need to fill the available width of the scrollview before
the table view considers stretching them.
>
> I have a custom view that creates a NSScrollView and NSTableView:
Obligatory question: why aren't you doing this in Interface Builder?
--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