• 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
NSTextView with ruler controls in a NSPopover
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView with ruler controls in a NSPopover


  • Subject: NSTextView with ruler controls in a NSPopover
  • From: Graham Cox <email@hidden>
  • Date: Tue, 03 Jul 2012 15:32:49 +1000

I'm trying to put a text editor into a popover.

It works, but the positioning of the text controls and rulers is very strange:  http://apptree.net/images/popover.png

It places them outside of the popover window, even though the textview, its scrollview and the custom view that acts as a container for them all are all fitted inside the popover. The process of assembling the view into the popover isn't directly under my control - I have to pass a NSViewController to the popover when I create it, and that's about all I can do.

Has anyone got this to work?

--Graham



_______________________________________________

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: NSTextView with ruler controls in a NSPopover
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • Next by Date: Re: NSSplitView question - how to implement my own "adjustViews" style method
  • Previous by thread: Re: Prevent Quarantine message on helper app
  • Next by thread: Re: NSTextView with ruler controls in a NSPopover
  • Index(es):
    • Date
    • Thread