Re: NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Jerry Krinock
On 2013 Aug 23, at 13:41, Ken Thomases wrote: > On Aug 23, 2013, at 3:22 PM, Jerry Krinock wrote: > >> On 2013 Aug 23, at 12:53, Ken Thomases wrote: >> >>> I think it's just that, if you use -setContentMinSize:, you shouldn't also >>> use -setMinSize:. >> >> Yes, I'd thought of that, and ch

Re: NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Ken Thomases
On Aug 23, 2013, at 3:22 PM, Jerry Krinock wrote: > On 2013 Aug 23, at 12:53, Ken Thomases wrote: > >> I think it's just that, if you use -setContentMinSize:, you shouldn't also >> use -setMinSize:. > > Yes, I'd thought of that, and checked for it with the Find Navigator, but the > answer is

Re: NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Jerry Krinock
On 2013 Aug 23, at 12:53, Ken Thomases wrote: > I think it's just that, if you use -setContentMinSize:, you shouldn't also > use -setMinSize:. Yes, I'd thought of that, and checked for it with the Find Navigator, but the answer is that I was *not* using setContentMinSize: anywhere on this win

Re: NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Ken Thomases
On Aug 23, 2013, at 10:22 AM, Jerry Krinock wrote: > On 2013 Aug 23, at 07:03, Keary Suska wrote: > >> Anyway, perhaps it is a bug in reconciling minSize with minContentSize. > > I know, but I really don't want to go there. This is NSWindow, for heaven's > sake. From NeXT. The method setMin

Re: NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Jerry Krinock
On 2013 Aug 23, at 07:03, Keary Suska wrote: > Just to be sure, is autolayout enabled? No. > Anyway, perhaps it is a bug in reconciling minSize with minContentSize. I know, but I really don't want to go there. This is NSWindow, for heaven's sake. From NeXT. The method setMinSize: has prob

Re: NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Keary Suska
On Aug 23, 2013, at 7:24 AM, Jerry Krinock wrote: > This should be easy. What am I doing wrong here? > > • Window height is 692, content min height is 363 and min height is 431. > • I set the min height to 646. > • Read it back, using -minSize. > > Expected result: Because I tried to *increase

NSWindow setMinSize: jumps up to current size instead

2013-08-23 Thread Jerry Krinock
This should be easy. What am I doing wrong here? • Window height is 692, content min height is 363 and min height is 431. • I set the min height to 646. • Read it back, using -minSize. Expected result: Because I tried to *increase* the *minimum* height, and to a value less than the current hei