Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    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?