Search Unity

  1. Full schedule for #UniteBerlin is now available! Featuring talks on our roadmap, hands-on labs and much more! Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. 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
  6. 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

    otez

    Joined:
    Dec 2, 2016
    Posts:
    3
    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?