On 24 Dec, 2012, at 08:28 , Kyle Sluder <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to