• 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 and NSTextContainer size & clipping area
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView and NSTextContainer size & clipping area


  • Subject: NSTextView and NSTextContainer size & clipping area
  • From: Дмитрий Николаев <email@hidden>
  • Date: Fri, 06 May 2011 10:40:26 +0400

Hello!

I found very interesting behavior of text container inside NSTextView. When i set size of container so it less than size of NSTextView frame and try
draw any figures in NSTextView drawRect: , all my figures clipped to size of text container.

So, frame size of NSTextView "allows" me to use it for drawing, but seems that is limited to container size.

If there are any possibility to draw inside text view but outside of text container ?_______________________________________________

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 and NSTextContainer size & clipping area
      • From: Ross Carter <email@hidden>
  • Prev by Date: NSControl Subclass and First Responder
  • Next by Date: Re: L-shaped custom view in Cocoa?
  • Previous by thread: Re: NSControl Subclass and First Responder
  • Next by thread: Re: NSTextView and NSTextContainer size & clipping area
  • Index(es):
    • Date
    • Thread