• 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
NSOutlineView column sizing problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView column sizing problems


  • Subject: NSOutlineView column sizing problems
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 29 Jul 2009 17:38:30 +1000

Hi all,

I have an NSOutlineView with three columns. I want the first column to resize but I want to keep the last two columns at a fixed size.

For the last two columns, I have set the min/max constraints to the same width and I have unchecked "Resizes with table" and "User resizable".

The left hand column has "Resizes with table" and "User resizable" checked and the Outline View itself has "Autoresizes Outline Column" checked, Column Sizing set to "First Column Only".

The enclosing scroll view has "Show Horizontal Scroller", "Show Vertical Scroller" and "Automatically hides scrollers" checked.

What I expect to happen is that if I enter some text in the leftmost column that is wider than the view, the column should be resized to hold the text and the horizontal scrollbar should appear.

However, no matter what I do this does not happen. The horizontal scroller never appears and the leftmost column stays the same size.

What do I have to do to achieve this behavior?

--
Rob Keniger



_______________________________________________

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: NSOutlineView column sizing problems
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: something I can't understand
  • Next by Date: Re: NSOutlineView column sizing problems
  • Previous by thread: Re: NSArrayController subclass computed property not being updated
  • Next by thread: Re: NSOutlineView column sizing problems
  • Index(es):
    • Date
    • Thread