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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com