10 Replies Latest reply on May 16, 2018 3:03 PM by carlosz13485882

    Auto Re-Sizing Text Boxes using sourceRectAtTime

    fabio81

      Hello

       

      I've been using the sourceRectAtTime expression to create some auto-resizing text boxes for a template I'm creating.

       

      But i've run into difficulties when using accented letters (i.e. ¿CÓMO ESTÁS?) because it changes the heights of the box

       

      I need t keep a fixed height regardless of whether I use accented letters or overhangs (J) or underhangs (y).

       

      I also need the space/leading between each line of text to remain constant and not vary depending on what letters I enter.

       

      Basically, how do I fix the height of the text boxes and only have the width variable? I've attached some screenshot to illustrate the problem.

       

      Screen Shot 2018-05-15 at 15.54.32.png

      Screen Shot 2018-05-15 at 15.50.06.png