NSTextView and NSTextContainer size & clipping area
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