Re: NSMatrix rows and columns
Re: NSMatrix rows and columns
- Subject: Re: NSMatrix rows and columns
- From: Andy Lee <email@hidden>
- Date: Tue, 18 Oct 2005 09:49:09 -0400
On Oct 18, 2005, at 9:06 AM, Francesca P wrote:
But do you know if exist a method to add row without cells?
I add an empty row, then I add column, and when I add another row
It has already all empty cells...
Sounds like you don't actually want to add a row (which by definition
contains cells) -- you just want the matrix to resize when the window
resizes, and have the existing cells stay where they are?
I'm not sure offhand if this helps, but see -setAutosizesCells: (in
NSMatrix).
You might also want to set the resize behavior of the matrix in IB so
that it automatically resizes with the window (select the matrix and
hit Command-3).
If you need more low-level control over resize behavior, you might
also subclass NSMatrix and override viewWillStartLiveResize and/or
viewDidEndLiveResize.
--Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden