- Home /
In a ScrollRect and a vertical layout group, how do I set child alignment to the left ?
Hi all,
In Unity 5.3.2f1, I have a scrollRect with content in a vertical layout group. My problem is I can't align the content to the left, it is always centered horizontally.
A loooooong text
....A short text
A loooooong text
My organization is as in the documentation :
ScrollRect : with a component scrollRect vertical
.ScrollRectMask : with a mask
..PanelContent : with a vertical layout group
...Content
...Content
Vertical layout group child alignment does not change anything. So, where do I set child alignment to the left ? Thanks !
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612074150im_/https://answers.unity.com/themes/thub/images/avi.jpg)