• 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: John Pannell <email@hidden>
  • Date: Tue, 9 May 2006 11:12:28 -0600

Hi Mark-

Just ran into this myself the other day... solution: look at the setAutoresizesOutlineColumn: method of NSOutlineView. Set this to NO, and you will get the desired behavior.

HTH!

John

John Pannell
Positive Spin Media
http://www.positivespinmedia.com

On May 9, 2006, at 11:00 AM, Mark Alldritt wrote:

Hi All,

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?


Cheers
-Mark

---------------------------------------------------------------------- --
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 4.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ FaceSpan 4.3 - AppleScript RAD
Affrus 1.0 - Perl Debugging



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


This email sent to email@hidden

_______________________________________________ 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: NSOutlineView expands column width
  • Next by Date: Re: NSOutlineView expands column width
  • Previous by thread: NSOutlineView expands column width
  • Next by thread: Re: NSOutlineView expands column width
  • Index(es):
    • Date
    • Thread