Re: Resizing NSScrollView/NSClipView to fit NSTableView width
Re: Resizing NSScrollView/NSClipView to fit NSTableView width
- Subject: Re: Resizing NSScrollView/NSClipView to fit NSTableView width
- From: Quincey Morris <email@hidden>
- Date: Tue, 16 Aug 2016 10:35:42 -0700
- Feedback-id: 167118m:167118agrif8a:167118sIpVwyBJ9R:SMTPCORP
On Aug 16, 2016, at 01:13 , studfed studfed <email@hidden> wrote:
>
> The problem is that table view is clipped by scroll view (what I mean is that last several columns are visible only if you scroll to the right, but I would like to have these last columns be visible without scrollers involved, so all header cells will be visible).
>
> Since it is not possible to create size constraints for tableview (that is inside scrollview/clipview) in IB, then I guess I should try to set up these programmatically? like width of scrollview should be equal to tableview width or clipview width should be equal to tableview width?
You need top/bottom/leading/trailing constraints on your table view to “pin” it to its container, the clip view.
_______________________________________________
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