Search Issue Tracker

By Design

Votes

0

Found in

5.3.2p2

Issue ID

769377

Regression

No

[LayoutGroup] Size of layout group is calculated in a strange way

UI

-

Steps to reproduce:

1. Open attached project
2. Open scene "1"
3. In hierarchy, expand "Canvas/HorizontalLayoutGroup/LeftVerticalGroup"
4. Add "Item" prefab as a child of "LeftVerticalGroup" and notice that its width is resized. Formula by which it gets resized is (Item.MinWidth/2) - 5px

Although Min Width of item is 200, it still resizes Layout group which has width equal to 285.

Reproduced with: 5.2.4p1, 5.3.2p3, 5.4.0b5

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.