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

Poor spacing around GraphicElements

New Here ,
Mar 18, 2014 Mar 18, 2014

I have an app leveraging TLF and have come across a rather undesirable behavior of FTE.

If you have a line of text that starts with a GraphicElement then followed by a space OR ends with a GraphicElement preceeded by a space, you end up with a space appearing where it shouldn't be. The text is adjustable by the user, so I'd like to find an answer besides "don't do that".

In the following example, I placed a little orange marker where the GraphicElement is on the TextLine. Since this is a floated image (in TLF land) the size is put to 0x0, its just a placeholder and has no visual representation on the TextLine itself. Unfortunately since FTE knows there is a GraphicElement after the space, it renders the space leaving an ugly edge against the right margin.

trailing space.png

Is there a way to work around this behavior?

TOPICS
ActionScript
173
Translate
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
no replies

Have something to add?

Join the conversation