Re: NSTextView with irregular shape
Re: NSTextView with irregular shape
- Subject: Re: NSTextView with irregular shape
- From: Kyle Sluder <email@hidden>
- Date: Thu, 14 Feb 2013 12:18:47 -0800
On Thu, Feb 14, 2013, at 12:00 PM, Vyacheslav Karamov wrote:
> I know how to implement custom text layout. Good example of this I have
> found in "Cocoa Programming Developer's Handbook" by David Chisnall.
> This book gives an example how to implement custo text layout, but I
> don't understand how to implement custom shape of NSTextView. Because my
> widget grow in height while user is typing, custom image should also
> grow and vertical scrollbar appears if needed.
> Anyway, thank you for the quick response!
Okay, you need to elaborate what you mean by "custom shape."
Do you just want your roughtly-rectangular text field to draw with a
rounded corners or something?
--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