i want to give space for my layout element manually for particular element in a horizontal layout

i want to change particular spacing for my layout element in horizontal layout group ui items.right now im giving space for all items groups as common but i want to change particular item manually from common spacing .please help me how to do that.in old gui u can able to change using gui.space in new unity ui how to give space for layout particular element .check video and images which i have added for refernce.please help me how to give space manully for my 4th element .thank you

video link to download:cilck here

You can attach LayoutElement component and set the minimum or preferred width. Another way is to add an empty objects (just a GameObject with RectTransform) into the layout to work as spacers.

1 Like