=================== BUG #4106: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4106&group_id=99

Submitted by: dr_nil                  Project: GNUstep                      
Submitted on: Thu 06/26/03 at 13:57
Category:  Gui/AppKit                 Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  NSImageCell does not display image in NSTableView

Original Submission:  I put an NSImageCell into an NSTableView (via a custom 
NSTabelColumn) to display images in that column. Although the dataCell was an 
NSImageColumn for my specific TableColumn NSTableView would not show images.

I had to add the following method to NSImageCell in order to make it work:

- (void)setObjectValue:(id)object
{
    if ([object isKindOfClass:[NSImage class]])
    {
        [self setImage:object];
    }
    else
    {
        [super setObjectValue:object];
    }
}





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4106&group_id=99

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to