Hello all,

in NSMatrix.m

- (NSRect) cellFrameAtRow: (int)row column: (int)column
{
  NSRect rect;

  rect.origin.x = column * (_cellSize.width + _intercell.width);
  if (_rFlags.flipped_view)
    {
      rect.origin.y = row * (_cellSize.height + _intercell.height);
    }
  else
    {
// rect.origin.y = (_numRows - row - 1) * (_cellSize.height + _intercell.height); // <-- that's wrong rect.origin.y = row * (_cellSize.height + _intercell.height); // <-- that makes more sense
    }
  rect.size = _cellSize;
  return rect;
}

Regards,

  Andreas



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to