Bug 12930212 filed. Popover not resizing is shown in simple modification of
Popover sample code project.  Haven¹t found answer on failure to morph.
Works in sample code.  Our content view is considerably more complex.
Something is defeating it.

On 12/23/12 5:06 PM, "Gordon Apple" <[email protected]> wrote:

> I¹m having a few issues with NSPopover.  ³animates² is the default, but is
> explicitly set anyway.  I have a tear-off window that instantly comes up where
> it wants when the popover is clicked.  It does not morph.  Also, it leaves the
> popover up, although I now explicitly close if when the window launches.
> 
> 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.  (I think NSPopover must do this itself, because I had problems
> when I forgot to call ³super² in my observer.) That did not work.  Content
> view changes to the right size, but popover size does not adjust.  Any
> solutions?


_______________________________________________

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