Re: NSOutlineView cell size 8 pixels too narrow

2013-10-04 Thread Mike Abdullah
I wonder if this is a side-effect of -[NSOutlineView autoresizesOutlineColumn]. I had to set it to NO for our app. On 2 Oct 2013, at 11:57, Jakob Egger wrote: > I had a similar issue with NSOutlineView in 10.8. I had an outline view that > could be hidden by the user, and every time it was sho

Re: NSOutlineView cell size 8 pixels too narrow

2013-10-04 Thread Jakob Egger
I had a similar issue with NSOutlineView in 10.8. I had an outline view that could be hidden by the user, and every time it was shown again, the width of the outline column shrank by a certain amount. It might be a bug in NSOutlineView. Calling -reloadData after the view is shown fixed the issu

Re: NSOutlineView cell size 8 pixels too narrow

2013-10-01 Thread Jerry Krinock
On 2013 Oct 01, at 15:38, Trygve Inda wrote: > 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. I remember that drove me crazy when I first used an outline view some years ago. A couple things

NSOutlineView cell size 8 pixels too narrow

2013-10-01 Thread Trygve Inda
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 i