r/Unity3D•
Linksagittario

How can I get a layout group to expand element all the way to the edges?

Question

I'm trying to use a horizontal layout group to evenly space images, but I noticed that there isn't an easy way for me to use the whole space even with "force child expand".
(by default it leaves space on the left and right with center child alignment)

Any ideas on an easy way for me to do this?

https://preview.redd.it/hu2xgag9g7dg1.png?width=2000&format=png&auto=webp&s=6fbeb38158b403dc2aa6f23a2492055241588a53

Posted Jan 13, 2026, 11:57 PM UTC

01
Loading comments…