• 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: Resizing NSScrollView/NSClipView to fit NSTableView width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Resizing NSScrollView/NSClipView to fit NSTableView width (From: studfed studfed <email@hidden>)
 >Re: Resizing NSScrollView/NSClipView to fit NSTableView width (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Proper setup for embedded framework
  • Next by Date: Re: Launch, connect, communicate
  • Previous by thread: Re: Resizing NSScrollView/NSClipView to fit NSTableView width
  • Next by thread: Launch, connect, communicate
  • Index(es):
    • Date
    • Thread