Re: Baffling Button Behavior [SOLVED]

2010-04-20 Thread koko
To not leave this hanging as some kind of view resize issue ... I was moving the Save button programatically on a split view resize, added the same to the Save As button and all is well koko On Apr 19, 2010, at 2:05 PM, Keary Suska wrote: On Apr 19, 2010, at 10:02 AM, k...@highrolls.net

Re: Baffling Button Behavior

2010-04-19 Thread Keary Suska
On Apr 19, 2010, at 10:02 AM, k...@highrolls.net wrote: > Per Fritz suggestion / request: > > (gdb) po sender > <<= Save Button > (gdb) call (id) [sender superview] > $3 = (id) 0x1183540 > (gdb) po $3 > > (gdb) call (int) [sender autoresizingMask] > $4 = 36 <<= NSViewMaxXMargin = 4 & NSViewMaxY

Re: Baffling Button Behavior

2010-04-19 Thread koko
Per Fritz suggestion / request: (gdb) po sender <<= Save Button (gdb) call (id) [sender superview] $3 = (id) 0x1183540 (gdb) po $3 (gdb) call (int) [sender autoresizingMask] $4 = 36 <<= NSViewMaxXMargin = 4 & NSViewMaxYMargin = 32 (gdb) c Continuing. (gdb) po sender <<= Save As Button (gdb) ca

Re: Baffling Button Behavior

2010-04-18 Thread Fritz Anderson
On 17 Apr 2010, at 4:32 PM, k...@highrolls.net wrote: > I have two buttons in a view, side by side. Their autoresizingMask are both > NSViewMaxXMargin + NSViewMaxYMargin > > When their containing view is resized only the left button behaves properly. > The right button stays fixed. > > Why?

Baffling Button Behavior

2010-04-17 Thread koko
I have two buttons in a view, side by side. Their autoresizingMask are both NSViewMaxXMargin + NSViewMaxYMargin When their containing view is resized only the left button behaves properly. The right button stays fixed. Why? Before resize:http://highrolls.net/Before Resize.png After res