Re: Help with view constraints

2011-10-30 Thread David Catmull
On Oct 28, 2011, at 6:30 PM, Ken Ferry wrote: > The question seems a little general to me. Where did you have problems doing > what you wanted to do? To be more specific, the window contains two controls: a text field with the full command arguments for a git command that was executed, and belo

Re: Help with view constraints

2011-10-28 Thread Ken Ferry
Hi David, The question seems a little general to me. Where did you have problems doing what you wanted to do? On Fri, Oct 28, 2011 at 4:02 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Oct 28, 2011, at 14:53 , David Catmull wrote: > > > - What is the simplest way to adju

Re: Help with view constraints

2011-10-28 Thread Quincey Morris
On Oct 28, 2011, at 14:53 , David Catmull wrote: > - What is the simplest way to adjust the text field's height to fit its > content? AFAIK there's no *simple* way to do it perfectly. You can use [NSString sizeWithAttributes:] to determine the height but you'll need to match the text field's a