• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWindow setMinSize: jumps up to current size instead
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow setMinSize: jumps up to current size instead


  • Subject: Re: NSWindow setMinSize: jumps up to current size instead
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 23 Aug 2013 14:38:23 -0700

On 2013 Aug 23, at 13:41, Ken Thomases <email@hidden> wrote:

> On Aug 23, 2013, at 3:22 PM, Jerry Krinock wrote:
>
>> On 2013 Aug 23, at 12:53, Ken Thomases <email@hidden> 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 window.  Just rechecked.  Same answer.
>
> Is the window from a NIB?

Yes.

>   Does it have a min size (content or frame) set there?

Good idea, but no…

Window:
   Constraints:
      Minimum Size checkbox is switched off
   Content View:
      Set popup to "Frame Rectangle":
         I don't see any controls for "min", "max" or "constraint".
         Just X=0, Y=0, Width=620(disabled), Height=470(disabled)
         Autosizing has four struts to superview
      Set popup to "Layout Rectangle":
         Ditto, same as "Frame Rectangle"

This window gets resized immediately upon opening and later whenever a different tab view is selected.  That is why the width and height in the xib are different than those in my original post.  It was in fact during such a later resizing that the problem was reproducible.

> "ivar"?  What is this "ivar" you speak of?  Sounds like an imaginary implementation detail of which you have (and should have) no knowledge.

Indeed, in the absence of a model, I use my imagination.  What I mean by "ivar" is the thing that I presume gets set when I invoke the setter and presume gets returned somehow when I invoke the getter.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >NSWindow setMinSize: jumps up to current size instead (From: Jerry Krinock <email@hidden>)
 >Re: NSWindow setMinSize: jumps up to current size instead (From: Keary Suska <email@hidden>)
 >Re: NSWindow setMinSize: jumps up to current size instead (From: Jerry Krinock <email@hidden>)
 >Re: NSWindow setMinSize: jumps up to current size instead (From: Ken Thomases <email@hidden>)
 >Re: NSWindow setMinSize: jumps up to current size instead (From: Jerry Krinock <email@hidden>)
 >Re: NSWindow setMinSize: jumps up to current size instead (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSWindow setMinSize: jumps up to current size instead
  • Next by Date: "Ownership follows the 'Create' Rule'" - not literally
  • Previous by thread: Re: NSWindow setMinSize: jumps up to current size instead
  • Next by thread: How to observe validity of NSTextField+NSNumberFormatter?
  • Index(es):
    • Date
    • Thread