Unity UI: Can you both anchor to a specific point, and stretch in all directions?

Viewed 530

What I want to do is anchor a UI element to the right side of another, whilst also having its size remain relative in both X and Y with the parent object.

The closest I can get is anchoring to the right and scaling in the Y, but then the UI ends up looking stretched when the resolution changes. I'm assuming I'm missing something somewhere as it seems like a feature that would exist somewhere.

1 Answers

try to click on the text object-> on the inspector click on the stretch - > and then on shift + alt

I hope that is what you are looking for.. enter image description here

Related