Variable Size Portrait Name
Posted: Wed Jun 14, 2017 3:54 pm
Hi Tony!
I am trying to add a background image to my portrait name... but since I really dont understand half of the Unity UI system, I figured I might as well write here... and it could perhaps help someone oneday that tries to do the same thing
As you can see in the picture below I created a framing for the name... it is positionned properly in SLICED mode... so I can adjust the width and it will stretch to the right side to acomodate super long character names... or contract to the left for much smaller names... I'd like to automate that "stretching" based on the character names... but I fear the template I am using might not work for that... Any tips/help you could provide on how I could achieve that?
As always, THANKS SO MUCH for all your amazing support!
I am trying to add a background image to my portrait name... but since I really dont understand half of the Unity UI system, I figured I might as well write here... and it could perhaps help someone oneday that tries to do the same thing
As you can see in the picture below I created a framing for the name... it is positionned properly in SLICED mode... so I can adjust the width and it will stretch to the right side to acomodate super long character names... or contract to the left for much smaller names... I'd like to automate that "stretching" based on the character names... but I fear the template I am using might not work for that... Any tips/help you could provide on how I could achieve that?
As always, THANKS SO MUCH for all your amazing support!