• 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 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

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

  • Prev by Date: Re: Cocoa-dev Digest, Vol 7, Issue 1044
  • Next by Date: Re: Test for launched from (Apple)Script?
  • Previous by thread: NSTableView within NSScrollView in code
  • Next by thread: Re: NSTableView within NSScrollView in code
  • Index(es):
    • Date
    • Thread