Re: NSPopover will not morph or resize
Re: NSPopover will not morph or resize
- Subject: Re: NSPopover will not morph or resize
- From: Kyle Sluder <email@hidden>
- Date: Sun, 23 Dec 2012 23:30:52 -0800
On Sun, Dec 23, 2012, at 03:06 PM, Gordon Apple wrote:
> Another issue is that the popover will not resize when its content view
> size
> changes. It does come up initially in the right size. I even tried
> subclassing NSPopover, put an observer on the content view frame, then
> set
> contentSize.
-[NSView frame] is not KVO-compliant. The correct way to observe a
view's frame is to register for NSViewFrameDidChangeNotification.
--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