• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSPopover will not morph or resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSPopover will not morph or resize
      • From: Kyle Sluder <email@hidden>
    • Re: NSPopover will not morph or resize
      • From: Gordon Apple <email@hidden>
  • Prev by Date: SOLVED: Document Icon won't change
  • Next by Date: Re: SOLVED: Document Icon won't change
  • Previous by thread: Re: SOLVED: Document Icon won't change
  • Next by thread: Re: NSPopover will not morph or resize
  • Index(es):
    • Date
    • Thread