• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

TextField.getCharBoundaries()

Explorer ,
Sep 12, 2015 Sep 12, 2015

Copy link to clipboard

Copied

Hello,

I just noticed using AIR iOS 18 (Build 199) if I call getCharBoundaries on a TextField the behavior of this method has changed.

"getCharBoundaries" does not give a rectangle object anymore where a char position is given in pixels. The resulting rect.x has now to be multiplied with the font size to get the correct results. This messes up all of my apps.

Is this behavior wanted?

Best,

Henning

TOPICS
Development

Views

293

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 24, 2015 Sep 24, 2015

Copy link to clipboard

Copied

LATEST

Hi Henning,

I have tried reproducing this issue with a sample project created at my end, with both latest AIR sdk 19, and AIR sdk 13. But it seems to be working as expected.

Can you provide below additional information ?
.
1. Which version did you use earlier, where you were getting different behavior ?

2. What is the change in behavior that you are noticing ?

3. I am also providing the sample project that I used to reproduce the issue, please go through it, to see if it includes your use case. And if not, kindly modify it, or provide your own sample project that demonstrates your problem.

Dropbox - getCharBoundaries_m_7956572.zip

-Tushar,

Adobe AIR Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines