bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #4106] NSImageCell does not display image in NSTableView


From: nobody
Subject: [bug #4106] NSImageCell does not display image in NSTableView
Date: Thu, 26 Jun 2003 09:57:22 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Linux 2.4.20-gentoo-r5 i686) Opera 7.11 [en]

=================== 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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]