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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment