Hi !

So I have sub classed NSOutlineView and implemented single method like this:

- (NSRect)frameOfOutlineCellAtRow:(NSInteger)row {
        return row == 0 ? NSZeroRect : [super frameOfOutlineCellAtRow:row];
}

That works except the indentation problem is still on.
If root object is empty than it is indented (default in IB is 14), but when I add child object to it,
root object indentation gets reset to zero (0).
How do I fix that ?

Bye.

Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to