Re: More constraints confusion

2013-04-26 Thread Kyle Sluder
On Apr 26, 2013, at 1:35 AM, Rick Mann wrote: > > On Apr 25, 2013, at 18:30 , Charles Srstka wrote: > >> Pinning *is* what you want. Do each of "Pin Leading/Trailing/Top/Bottom Edge >> To Superview", and then the height and width constraints should become >> deletable. > > Sorry, I misunder

Re: More constraints confusion

2013-04-25 Thread Chuck Soper
On 4/25/13 6:35 PM, "Rick Mann" wrote: >On Apr 25, 2013, at 18:30 , Charles Srstka >wrote: > >> Pinning *is* what you want. Do each of "Pin Leading/Trailing/Top/Bottom >>Edge To Superview", and then the height and width constraints should >>become deletable. > >Sorry, I misunderstood. Yes, I had

Re: More constraints confusion

2013-04-25 Thread Charles Srstka
On Apr 25, 2013, at 8:35 PM, Rick Mann wrote: > On Apr 25, 2013, at 18:30 , Charles Srstka wrote: > >> Pinning *is* what you want. Do each of "Pin Leading/Trailing/Top/Bottom Edge >> To Superview", and then the height and width constraints should become >> deletable. > > Sorry, I misundersto

Re: More constraints confusion

2013-04-25 Thread Rick Mann
On Apr 25, 2013, at 18:30 , Charles Srstka wrote: > Pinning *is* what you want. Do each of "Pin Leading/Trailing/Top/Bottom Edge > To Superview", and then the height and width constraints should become > deletable. Sorry, I misunderstood. Yes, I had already pinned the Leading/Trailing/Top/Bo

Re: More constraints confusion

2013-04-25 Thread Charles Srstka
On Apr 25, 2013, at 6:50 PM, Rick Mann wrote: > No, pinning is not what I want. That's what I'm trying to avoid. IB in > insisting on pinning the width and the height. > > I think it assumes the NSImageWell MUST have a static size, rather than allow > it to resize. I'm able to put an NSView wi

Re: More constraints confusion

2013-04-25 Thread Chuck Soper
IB adds constraints to both the NSImageView and its superview. I believe that this is why deleting a constraint causes it to come back (it's in two views). Here's what I recommend: - Delete the NSImageView which will also delete the associated constraints. - Drag a new NSImageView to the window (i

Re: More constraints confusion

2013-04-25 Thread Rick Mann
No, pinning is not what I want. That's what I'm trying to avoid. IB in insisting on pinning the width and the height. I think it assumes the NSImageWell MUST have a static size, rather than allow it to resize. I'm able to put an NSView without this problem. On Apr 25, 2013, at 16:48 , Caylan L

More constraints confusion

2013-04-25 Thread Rick Mann
I put an NSImageView into a window. I want the NSImageView's frame to always fill the window content frame. When I dropped it in, IB gave it a width and height constraint that I can't edit. I sized it to fit the window, and it also added leading and trailing space constraints. I explicitly set