Re: NSTextView with irregular shape
Re: NSTextView with irregular shape
- Subject: Re: NSTextView with irregular shape
- From: Vyacheslav Karamov <email@hidden>
- Date: Thu, 14 Feb 2013 22:42:02 +0200
I want the same text view as Apple iMessages has.
I have such bullet image and I plan to use it as textview's shape.
Actually this one
http://i.piccy.info/i7/e52f246522784139d1c75bf53bb466e6/4-55-1897/58781878/iMessages.png
14.02.2013 22:18, Kyle Sluder пишет:
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