Re: Window resizing autolayout?
Re: Window resizing autolayout?
- Subject: Re: Window resizing autolayout?
- From: Kyle Sluder <email@hidden>
- Date: Sun, 23 Dec 2012 23:28:40 -0800
On Sun, Dec 23, 2012, at 11:25 PM, Quincey Morris wrote:
> It seems to me that changing the UI elements in awakeFromNib probably
> isn't enough, since that doesn't tell the layout system that something
> has changed.
Changing the text of a label will cause it to call [self
invalidateIntrinsicContentSize], which will ensure a layout pass happens
on the next window update.
My hunch is that NSPopover manually manages the size of its window to
match is contentSize, and it doesn't do so using constraints (or if it
does, those constraints have mandatory priority).
--Kyle Sluder
_______________________________________________
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