Re: NSOutlineView (Cell based) loses Text

2013-06-24 Thread Quincey Morris
On Jun 24, 2013, at 14:41 , Robert Fiedler  wrote:

> Does anybody have an idea what could be the reason for that behavior or in 
> what direction I should dig?

I believe I've seen similar behavior caused by malfunctioning auto-layout 
constraints on the text and image subviews. Make sure you have an exception 
breakpoint set to catch any auto-layout constraints violations.

___

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

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

NSOutlineView (Cell based) loses Text

2013-06-24 Thread Robert Fiedler
Hi All,

I have an question about NSOutlineView and an Image an Text Cell. I use an 
NSTreeController and have bind arangedObjects to the OutlineView and 
objectValue.ResourceIcon (NSImage*) to the ImageView and objectValue.ItemName 
(NSString*) to the TextFileld of the  CellView. Now I see the following 
behavior. All my root-Item are shown in the OutlineView with Image and Text but 
if I select an Item and expand it I only see the text of the child items for "a 
little while" and then the text disappears and only the Image is shown. If I 
select an child item now the right text comes back for that item. More curious: 
If I remove the binding for the ImageView all works as expected. The text is 
always present and the default image is shown. 

Does anybody have an idea what could be the reason for that behavior or in what 
direction I should dig?

Thanks in advance
Robert

___

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

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