Re: Window resizing autolayout?
Re: Window resizing autolayout?
- Subject: Re: Window resizing autolayout?
- From: Antonio Nunes <email@hidden>
- Date: Mon, 24 Dec 2012 10:33:33 +0100
On 24 Dec, 2012, at 08:28 , Kyle Sluder <email@hidden> wrote:
> 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).
If I set the view's frame in awakeFromNib, then the popover will show with the correct size, so it appears to be an issue with the view that contains the controls, rather than with the popover (or sheet, for that matter).
-António
-----------------------------------------------------------
For to the bee a flower is the fountain of life,
And to the flower a bee is the messenger of love
--Kahlil Gibran
-----------------------------------------------------------
_______________________________________________
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