Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

layout element layout group changes size when changing padding

Discussion in 'Unity UI & TextMesh Pro' started by otez, May 16, 2018.

  1. otez


    Dec 2, 2016
    i have a horizontal layout group of 4 vertical layout groups. i set it to expand children by width, so these 4 groups have same width. but when i set left padding of one of them to 10 then this group has larger width (actually, it is exactly 10px larger). can somebody explain why is this happening? or is there a way to achieve this goal of having 4 vertical layouts with same width, but with different paddings?