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: Sun, 17 Aug 2003 23:30:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.2.1) Gecko/20030228

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

Changes by: Adam Fedor <fedor@gnu.org>
Date: Sun 08/17/2003 at 21:30 (US/Mountain)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Severity | 5 - Major                 | 1 - Ordinary
          Resolution | None                      | Fixed
         Assigned to | None                      | fedor
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
I added this method to NSImageCell.



=================== BUG #4106: FULL BUG SNAPSHOT ===================


Submitted by: dr_nil                  Project: GNUstep                      
Submitted on: Thu 06/26/2003 at 07:57
Category:  Gui/AppKit                 Severity:  1 - Ordinary               
Bug Group:  Bug                       Resolution:  Fixed                    
Assigned to:  fedor                   Status:  Closed                       

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];
    }
}



Follow-up Comments
*******************

-------------------------------------------------------
Date: Sun 08/17/2003 at 21:30       By: fedor
I added this method to NSImageCell.


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]