• 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: NSOutlineView expands column width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView expands column width


  • Subject: Re: NSOutlineView expands column width
  • From: Jim Correia <email@hidden>
  • Date: Tue, 9 May 2006 13:16:14 -0400

On May 9, 2006, at 1:00 PM, Mark Alldritt wrote:

I have an NSOutlineView with a single column that spans the width of the
outline view. When I expand items in the outline, NSOutlineView increases
the column's width to allow for the indent of the sub-items. Is there a way
to prevent this expansion of the column width from happening?

This looks like it will do the job:

-[NSOutlineView setAutoresizesOutlineColumn:]

http://tuvix.apple.com/documentation/Cocoa/Reference/ApplicationKit/ ObjC_classic/Classes/NSOutlineView.html#//apple_ref/occ/instm/ NSOutlineView/setAutoresizesOutlineColumn

Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSOutlineView expands column width (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Re: NSOutlineView expands column width
  • Next by Date: Re: Making an NSTableView accept drag operations
  • Previous by thread: Re: NSOutlineView expands column width
  • Next by thread: Making a panel float over another application
  • Index(es):
    • Date
    • Thread