Follow-up Comment #2, bug #14967 (project gnustep):

I am using the art backend. The image is fairly small (16 pixels I think),
but the tableColumn it is placed in is slightly smaller than that. I don't do
any scaling directly. The code I use for displaying it is below. 

When I open it up in Preview.app on my machine, it still has a green border.

Thanks
Rob


- (id)            tableView: (NSTableView *) aTableView
  objectValueForTableColumn: (NSTableColumn *) aTableColumn
                        row: (int) rowIndex
{

  <snip>...
 
  if( [[aTableColumn identifier] isEqualToString: @"Flag"])
  {
    if([[cards objectAtIndex: x] learned] == YES)
    {
      return [NSImage imageNamed: @"Star.tiff"];
    }
    if([[cards objectAtIndex: x] slot] != NOSLOT)
    {
      return [NSImage imageNamed: @"Scheduled.tiff"];
    }
  }
  return nil;
}

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14967>

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



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to