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 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