• 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
Re: NSTextView with irregular shape
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTextView with irregular shape
      • From: Vyacheslav Karamov <email@hidden>
References: 
 >NSTextView with irregular shape (From: Vyacheslav Karamov <email@hidden>)
 >Re: NSTextView with irregular shape (From: Keary Suska <email@hidden>)
 >Re: NSTextView with irregular shape (From: Vyacheslav Karamov <email@hidden>)

  • Prev by Date: Re: NSTextView with irregular shape
  • Next by Date: Re: NSTextView with irregular shape
  • Previous by thread: Re: NSTextView with irregular shape
  • Next by thread: Re: NSTextView with irregular shape
  • Index(es):
    • Date
    • Thread