Re: Non-Resizable Window and Autolayout
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