Re: NSPopover will not morph or resize
Re: NSPopover will not morph or resize
- Subject: Re: NSPopover will not morph or resize
- From: Gordon Apple <email@hidden>
- Date: Sun, 23 Dec 2012 20:55:15 -0600
- Thread-topic: NSPopover will not morph or resize
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@hidden> 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@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