Wrap Inside Actor Vertical Alignment
kanuvas
Member Posts: 21
Hi All,
I am creating a nice quiz (we will share when complete as we have a film company skinning it)..anyway.
We have answer buttons, lets say that they are square, with the answer text shown within in it. Now the answers CAN be longer than the width, so we need to use 'Wrap Inside Actor'.
However, when we use 'Wrap Inside Actor' it vertically aligns the text to the top of the box.
BUT when we do not use 'Wrap Inside Actor' it puts it nicely in the middle.
We want the text to wrap but also in the middle of the actor...any ideas?
Cheers in advance,
I am creating a nice quiz (we will share when complete as we have a film company skinning it)..anyway.
We have answer buttons, lets say that they are square, with the answer text shown within in it. Now the answers CAN be longer than the width, so we need to use 'Wrap Inside Actor'.
However, when we use 'Wrap Inside Actor' it vertically aligns the text to the top of the box.
BUT when we do not use 'Wrap Inside Actor' it puts it nicely in the middle.
We want the text to wrap but also in the middle of the actor...any ideas?
Cheers in advance,
Best Answer
-
tatiang Posts: 11,949It's either or. You can wrap and have vertical alignment at the top or you can not wrap and have vertical alignment at the center. The text alignment options for DisplayText are quite limited.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page