• 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
Re: NSPopover will not morph or resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopover will not morph or resize


  • Subject: Re: NSPopover will not morph or resize
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 23 Dec 2012 23:30:52 -0800

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@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: Gordon Apple <email@hidden>
References: 
 >NSPopover will not morph or resize (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Window resizing autolayout?
  • Next by Date: Re: Window resizing autolayout?
  • Previous by thread: Re: NSPopover will not morph or resize
  • Next by thread: Re: NSPopover will not morph or resize
  • Index(es):
    • Date
    • Thread