NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Grandinetti Philip
I'm running into a strange behavior with NSForm (and also NSMatrix). (1) Using interface builder (in Xcode 4.3.1) I place an NSForm in a window. I add a NSButton and wire it to an IBAction that sends addRow to the NSForm. - (IBAction) addRow:(id)sender { [form addRow]; [form

Re: NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Keary Suska
On Mar 13, 2012, at 8:55 AM, Grandinetti Philip wrote: I'm running into a strange behavior with NSForm (and also NSMatrix). (1) Using interface builder (in Xcode 4.3.1) I place an NSForm in a window. I add a NSButton and wire it to an IBAction that sends addRow to the NSForm. -

Re: NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Fritz Anderson
On 13 Mar 2012, at 12:49 PM, Keary Suska wrote: It is a bit deceptive, but the problem is not what you think. The row is in fact added at the bottom, but when the view is resized it is sized from the bottom left corner, instead of the top left, which is intuitive for humanity but not

Re: NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Grandinetti Philip
Thanks Keary, It all makes sense.Deceptive is the word below in the reference guide, which I usually interpret using the direction of gravity. Philip On Mar 13, 2012, at 1:49 PM, Keary Suska wrote: On Mar 13, 2012, at 8:55 AM, Grandinetti Philip wrote: I'm running into a strange