[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSMatrix Bug Fix II
From: |
Andreas Höschler |
Subject: |
NSMatrix Bug Fix II |
Date: |
Sat, 17 Feb 2007 22:23:27 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSMatrix Bug Fix II,
Andreas Höschler <=