At least it looks like a bug...
I have put a NSOutlineView in my window, which is embedded in a NSScrollView, with one column.
The data is displaying fine, with collapsible parts etc, but I have this strange problem with the header as soon as I scroll horizontally the outline view column : the header is shifted some 10 or 15 pixels to the left, and the title is then missing a few chars... Things go back to normal when I make the window large enough to get rid of the horizontal scroller...
That's quite ugly, and the problem seems quite the same as the one discussed in this mailing list : http://lists.apple.com/archives/Cocoa-dev/2001/Nov/msg00803.html except that my window is simpler as I do not have two scrollviews embedded in each other, just one containing the NSOutlineView...
Here is the normal header :
And the header such as it appears after expanding one item and playing with scroller (to the right and back to the left) :
Has anyone seen this ? and is there a fix for it ?
phjo
P.S. : it looks like there is a display bug in the items as well, as when the bug appears, if I collapse every item from the root, then the header goes back to normal, but the items are shifted to the right somewhat... (and move again to the left as soon as I expand one of the items...)
P.P.S : I am using XCode+IB 3
I have put a NSOutlineView in my window, which is embedded in a NSScrollView, with one column.
The data is displaying fine, with collapsible parts etc, but I have this strange problem with the header as soon as I scroll horizontally the outline view column : the header is shifted some 10 or 15 pixels to the left, and the title is then missing a few chars... Things go back to normal when I make the window large enough to get rid of the horizontal scroller...
That's quite ugly, and the problem seems quite the same as the one discussed in this mailing list : http://lists.apple.com/archives/Cocoa-dev/2001/Nov/msg00803.html except that my window is simpler as I do not have two scrollviews embedded in each other, just one containing the NSOutlineView...
Here is the normal header :
And the header such as it appears after expanding one item and playing with scroller (to the right and back to the left) :
Has anyone seen this ? and is there a fix for it ?
phjo
P.S. : it looks like there is a display bug in the items as well, as when the bug appears, if I collapse every item from the root, then the header goes back to normal, but the items are shifted to the right somewhat... (and move again to the left as soon as I expand one of the items...)
P.P.S : I am using XCode+IB 3