Graphics

 View Only
  • 1.  Word Wrap for Right justified text?

    Posted 03-13-2019 22:09
    So... it seems word wrap only wants to work with center or left justified text, is there a way to have this functionality for text that needs to be justified to the right?


  • 2.  RE: Word Wrap for Right justified text?

    Posted 03-13-2019 22:40
    Pretty sure this has been a bug for a while. I believe the solution is to have your editable text as an invisible object and then have a separate text object that is right justified. You then take your editable text and apply it to the visible thru visible logic (editable.text -> visible text.text)
    #XPression


  • 3.  RE: Word Wrap for Right justified text?

    Posted 03-13-2019 23:10

    Thanks Drew. Yeah, I have that working now... although the new problem that came up as a result of this is how to 'stick' another piece of text to the shorter of the 2 lines of this word wrapped text.


    #XPression


  • 4.  RE: Word Wrap for Right justified text?

    Posted 03-13-2019 23:49
    Don't know if the version you are working with has this ability, but there is a visible logic option for text called WordWrap -> Enabled. You could essentially compare the bounding box width of the text (not scaled) with a pre-determined value for width that would decide whether to enable word wrap or not. If this option isn't available in visible logic, I'd assume the scripting method is TextObjectName.WordWarp.Enabled = true/false???
    #XPression