Re: [myMatrix addColumn] but NSMatrix doesn't show Cells
Re: [myMatrix addColumn] but NSMatrix doesn't show Cells
- Subject: Re: [myMatrix addColumn] but NSMatrix doesn't show Cells
- From: Brian Webster <email@hidden>
- Date: Sun, 13 Oct 2002 15:08:48 -0500
If your matrix is not set to autoresize cells (and it sounds like this
is the case), you need to tell the matrix to resize to accomodate the
new cells. There is a handy method for this, [myMatrix sizeToCells].
On Sunday, October 13, 2002, at 02:49 PM,
email@hidden wrote:
Hello everybody!
I'm here with a problem, I have a NSMatrix of NSButton, I wanna add
items at runtime but when I do:
[myMatrix addColumn];
The new column doesn't appear at all in the window... anyway if I do
[myMatrix numberOfColumns];
it returns the right number but on the window myMatrix seems untouched
I tried sending -display -needsDisplay: and other methods to its
relative NSView but without success... anybody knows how to update the
NSMatrix view???
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.