Graphics

 View Only
  • 1.  Center justification on two text fields

    Posted 01-19-2018 17:05
    I am trying to use 2 text fields in 1 row and have them center justified. I am using the auto-follow in visual logic to have the second field follow the first. Is there a way to do this through visual logic?


  • 2.  RE: Center justification on two text fields

    Posted 01-20-2018 01:32

    Create two text fields. Right justify the first. Left justify the second. Make the second a child of the first. Offset them to create the space between (assuming they are different words.) and use the attached visual logic, tweaking the value to finish your space.

    If you are managing the input, and you simply want to change font style within a single, center justified text field, you could use a font tag {font ID} to change text to the right of the tag.



    #XPression


  • 3.  RE: Center justification on two text fields

    Posted 01-22-2018 16:58
    Works great! Thank you!
    #XPression


  • 4.  RE: Center justification on two text fields

    Posted 01-23-2018 19:26

    I would like to expand and use Visual Logic for 3 text fields. I tried to base it off of the previous example, but I think I'm missing something. Any thoughts? 


    #XPression


  • 5.  RE: Center justification on two text fields

    Posted 01-24-2018 01:49

    Use three published text fields with the visibility turned off and the unpublished, center-justified text.

    Apply the visual logic below, where the String Value is a space.

    If you need to change font styles, use two String Values and add a font tag {font ID} to them.


    #XPression


  • 6.  RE: Center justification on two text fields

    Posted 01-25-2018 11:50
    Thank you. The issue I have now is, I have the third text field set up in visual logic to change colors depending on a numeric value from an RSS datalinq feed. Is it possible to somehow use this along with that logic, or is there another way to keep the color change on the third text field?
    #XPression


  • 7.  RE: Center justification on two text fields



  • 8.  RE: Center justification on two text fields

    Posted 01-25-2018 16:59
    Thank you for the response redmile. I have the VL for the color change figured out, it's a matter of incorporating it into VL for centering 3 text fields within one area.
    #XPression