Resize NSMatrix
Resize NSMatrix
- Subject: Resize NSMatrix
- From: email@hidden
- Date: Fri, 7 May 2004 14:42:51 +0530
Hi,
The "renewRows: colums:" method is for resizing the matrix, but this method
doesnot change the position of the cells accordingly. For example the cell
at (0, 3) position in a (4 * 5) matrix should move to (1, 1) position when
the matrix is resized to (10 * 2).
"renewRows:columns:" creates new rows or columns but doesnot reposition the
cells.
Alternatively, I collected all the cells of the matrix to an NSArray before
resize and used that to reconstructed the matrix after resize. In this
process I used "addRowWithCells" method. But here also the cells that are
newly created appear blank and the position of the cell is not getting
changed.
Is anyone there facing the same problem?, Please give your suggestions to
overcome this problem.
Thanks in Advance,
Regards,
Nagarajan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.