- Home /
 
 
               Question by 
               hexagonius · Nov 19, 2016 at 05:33 PM · 
                uitextplacementoverlapping  
              
 
              Match UI Text on part of another UI Text
I am trying to match a UI Text onto part of another larger UI Text and I am not sure what I need to get the positioning, size and formatting right. The screenshot illustrates this with a long black text and a shorter passage ("talking") in another text, which should match the place of the black "talking".
Anyone an idea how to do that?

 
                 
                textoverlay.png 
                (61.6 kB) 
               
 
              
               Comment
              
 
               
              Answer by RetepTrun · Nov 21, 2016 at 02:40 AM
Maybe use a script to create the text in the box instead of just typing it in like the picture. The script can build the string dynamically how you choose.
ex: String text="This is the long text I am" + variable + "about";
im sorry, but I was asking about overlapping two different UI Text components, not inserting text by variable
Your answer