Re: IB 3.0, no more option-drag to create an NSMatrix from a text field?
Re: IB 3.0, no more option-drag to create an NSMatrix from a text field?
- Subject: Re: IB 3.0, no more option-drag to create an NSMatrix from a text field?
- From: Ricky Sharp <email@hidden>
- Date: Wed, 28 Nov 2007 19:55:48 -0600
On Nov 28, 2007, at 6:45 PM, Dave Sopchak wrote:
Hi all,
I've been flummoxed by this since installing Leopard-
Seems there's no facility in IB 3.0 to option drag an NSTextField to
make an NSMatrix of NSTextField cells? I can't find a reference for
why or why not anywhere- documentation, mailing list here, on the
web...
Was I the only person doing this? Is this bad form? I also notice
now that I can't set the prototype of an NSMatrix to an
NSTextFieldCell.
To create a matrix of NSTextFieldCell, drag in an NSTextField, select
it, and then choose Layout | Embed Objects In | Matrix.
This will create a 1 x 1 matrix of NSTextFieldCell (prototype also set
to that cell type). You can then option-drag to create any sized
matrix.
Actually, prior to embedding into the matrix, you may want to set up
attributes for the field to serve as your default (i.e. prototype).
When embedding in the matrix, you'll then end up with an appropriate
prototype cell already configured.
Finally, I notice when I do set a cell of an NSMatrix by dragging an
NSTextField cell onto the cell, I get weird behavior if I try to
attach an NSFormatter.
Bug report? Bad form? IB 3.0 not feature complete?
Not sure what you mean here about bad behavior. Building upon the
NSMatrix mentioned above, I was able to drag in different NSFormatters
to two of my cells (one 'number' and one 'date'). Simulating the
interface did the right thing (i.e. my text entries were formatted
correctly according to individual cell's formatter rules)
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden