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