What up.
I’m instantiating text ui game objects in the vertical layout group.
One of them is supposed to be aligned to the right, and the other to the left.
I can do this if I set the width of the entire text gameobject to 100% of the vertical layout group box and just use the text align settings.
Text boxes have a content size fitter so anchors don’t work.
However, I’d like to change the width of the chat bubble and if I change it to 50% let’s say, they instantiate in the middle. Child alignment is lower center.
What’s a good way to align each instantiated gameobject to a different side?