NSOutlineView column sizing problems
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