Re: Linearly Scaling Text
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