Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3.0b8
2019.3.3f1
2020.1.0a4
2020.2
Issue ID
1225888
Regression
Yes
[UIElements] The value of the property ListView.itemHeight cannot be changed from script when ListView.viewDataKey is set
How to reproduce:
1. Open the project "case_1225888-ListView"
2. Select Tools -> MyEditorWindow in the Menu Bar
3. Observe that the height of each row is 20 pixels in MyEditorWindow
4. Go to the Assets folder in the Project window
5. Open the script "MyEditorWindow"
6. Comment-out line 25 (StepOne) and comment-in line 26 (StepTwo)
7. Save the script
8. Open the Editor again
9. Observe the height of each row in the MyEditorWindow
Expected results: the height of each row in the MyEditorWindow is 60 pixels as set in the script
Actual results: the height of each row in the MyEditorWindow is 20 pixels as before
Reproducible with: 2019.3.0b8, 2019.3.6f1, 2020.1.0a4, 2020.1.0b2, 2020.2.0a3
Not reproducible with: 2019.3.0b7, 2020.1.0a3
Could not test with: 2017.4.38f1, 2018.4.19f1 because the class ListView is not available
Notes:
1. It is not reproducible when ListView.itemHeight is changed and ListView.viewDataKey is set to null (comment-out line 25 and 26 (StepOne, StepTwo) and comment-in line 27 (StepThree) and observe the results)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a8