Search Issue Tracker
Fixed in 5.6.0
Votes
1
Found in
5.5.0f3
Issue ID
858880
Regression
Yes
Input Field overrides the manually set preferred size in the Layout Element
How to reproduce:
1. Open attached project "858880-repro.zip"
2. Go to Scene view
3. Input Fields have a Layout Element with a Preferred Width set to 200
Expected behavior: Input Field doesn't override it's Layout Element
Actual behavior: Input Field overrides it's Layout Element
Note: This is caused by the InputField.layoutPriority returning 1
Workaround: Use an InputField-derived class which overrides the layoutPriority returning 0
Reproducible: 5.5.0p1, 5.6.0a6
Not reproducible: 5.3.7p2, 5.4.3p3
Regression introduced in: 5.5.0b3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment