NSOutlineView cell size 8 pixels too narrow
NSOutlineView cell size 8 pixels too narrow
- Subject: NSOutlineView cell size 8 pixels too narrow
- From: Trygve Inda <email@hidden>
- Date: Tue, 01 Oct 2013 15:38:17 -0700
- Thread-topic: NSOutlineView cell size 8 pixels too narrow
When my window first loads, I have an NSOutlineView (which has it's internal
NSScrollView). This is placed in my window and I have a custom Cell done
with:
@interface SourceViewCell : NSTextFieldCell
My cell width is 8 pixels too narrow until I resize the window (even by only
a pixel). It is as if the auto-sizing is not working when it is loaded from
the nib. No matter how I configure the nib, the cell is always 8 pixels too
narrow until I resize the window which causes it to work correctly after
that.
Any ideas? 10.8. The problem does not exist on 10.6 with the exact same
code/project.
Thanks.
_______________________________________________
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