Graphics

 View Only
  • 1.  VL Offset Function Working Backward, Right Justified Text

    Posted 05-12-2020 15:27

    Hey everyone! 

    I'm trying to build out the whole text-background-expands-as-text-box-grows-or-shrinks thing. I've done it before with text that is left-justified using a mask Position X box that moves based on the Bounding Box Width of the text box, with an offset. 

    However, I'm now trying to do it with a text box that is right-justified and move the mask on the left side of the text box. It's working in reverse of what I want. As the text box gets bigger, the mask moves to the right instead of the left...which makes sense, I just can't figure out how to make it work in reverse. 

    Any tips would be appreciated! 



  • 2.  RE: VL Offset Function Working Backward, Right Justified Text

    Posted 05-13-2020 15:29


  • 3.  RE: VL Offset Function Working Backward, Right Justified Text

    Posted 09-25-2022 22:25
    Just wanted to comment and give a +1 to Gabriel's suggestion here. I was stumped, and this solved the problem! Thanks, friend!

    ------------------------------
    Jake Zink
    ------------------------------



  • 4.  RE: VL Offset Function Working Backward, Right Justified Text

    Posted 05-13-2020 18:43

    Hi Nicole,

    There might be a reason why you are doing this with a mask but I would just like to point out that you can also use a quad as child of the textobject that can grow automatically depending on the size of the text without the need for Visual Logic.

    You then only need to activate the AUTO-SCALE option in the textobject and point it to the child-object.

    You only need to set the pivot-point of the quad on the corner where you need to grow it from.

    So for left-aligned text you can put the pivot on the upper left corner and for right-aligned text, you can put it on the right upper corner.


    #XPression


  • 5.  RE: VL Offset Function Working Backward, Right Justified Text

    Posted 09-26-2022 05:01
    It moves to the right instead of left because the value is getting bigger, just multiply it by negative 1 and the number will get smaller accordingly and move in the other direction. 




    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------