• 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: Non-Resizable Window and Autolayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-Resizable Window and Autolayout


  • Subject: Re: Non-Resizable Window and Autolayout
  • From: Roland King <email@hidden>
  • Date: Tue, 08 Dec 2015 23:14:53 +0800

> On 8 Dec 2015, at 23:06, Jerry Krinock <email@hidden> wrote:
>
>
>> On 2015 Dec 08, at 06:31, Dave <email@hidden> wrote:
>>
>> I then select the Window in IB and select “Reset to Suggested Constraints”.
>
> also known as the “Ruin My Day” selection.

I love that button - I always try to figure out after I’ve pressed it who, or what, suggested those constraints, and why. I always feel it was something which was vaguely unaware of the constraint system but it’s always good for a laugh.

>
>> Does anyone have an idea why this is happening?
>
> It would be interesting to look at the window’s styleMask in the debugger and see if the NSResizableWindowMask bit is on.
>

I’d have a look at the constraints on the window itself when running to see what priorities they have. If they are lower than the ‘human is resizing me’ priorities then the human wins.
_______________________________________________

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: 
 >Non-Resizable Window and Autolayout (From: Dave <email@hidden>)
 >Re: Non-Resizable Window and Autolayout (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Non-Resizable Window and Autolayout
  • Next by Date: LSSharedFIleList API deprecated
  • Previous by thread: Re: Non-Resizable Window and Autolayout
  • Next by thread: LSSharedFIleList API deprecated
  • Index(es):
    • Date
    • Thread