• 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: Linearly Scaling Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linearly Scaling Text


  • Subject: Re: Linearly Scaling Text
  • From: Lee Ann Rucker <email@hidden>
  • Date: Mon, 30 May 2011 09:39:39 -0700 (PDT)

My view isn't even zoomable, but if the text in the textview doesn't completely fit in the box, when I go to edit it goes from a perfectly legible "long string with ..." to a very fuzzy "long string with truncation". I'm half-tempted to just make it non-editable.

----- Original Message -----
From: "Ajay Sabhaney" <email@hidden>
To: "Kyle Sluder" <email@hidden>
Cc: "cocoa-dev List" <email@hidden>
Sent: Monday, May 30, 2011 1:21:31 AM
Subject: Re: Linearly Scaling Text

> I hope that there are no issues scaling an NSTextView that is layer-backed (either using NSView's scaleUnitSquareToSize method, or the bounds manipulation approach that TextEdit uses).

Unfortunately, there seems to be issues with scaling an NSTextView in a layer-backed hierarchy as well - I am encountering the same, somewhat garbled drawing of the editor, as mentioned in my previous posts. I'll file a radar with Apple.

Any suggestions as to how to implement an editable text box in a zoomable, Core Animation layer-backed or layer-hosted hierarchy, would be much appreciated.


_______________________________________________

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
_______________________________________________

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

References: 
 >Re: Linearly Scaling Text (From: Ajay Sabhaney <email@hidden>)

  • Prev by Date: Re: How to extract files from zip archive?
  • Next by Date: Re: Problem using data in a distributed object
  • Previous by thread: Re: Linearly Scaling Text
  • Next by thread: Re: Linearly Scaling Text
  • Index(es):
    • Date
    • Thread