Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2021.3.20f1
2022.2.9f1
2023.1.0b5
2023.2.0a4
Issue ID
UUM-29142
Regression
No
ListView height does not match the Overlay height when creating a custom Overlay with a ListView
How to reproduce:
1. Open the user attached project “23_1.zip“
2. Observe the “Overlay With List View” Overlay in the Scene view
Expected result: The blue border has the same height as the Overlay (the ListView height matches the Overlay height)
Actual result: The blue border has the same height as the ListView (the ListView height does not match the Overlay height)
Reproducible with: 2021.3.20f1, 2022.2.9f1, 2023.1.0b5, 2023.2.0a4
Can’t test with: 2020.3.45f1 (Errors in the Console)
Reproducible on: macOS 13.0.1 (Intel)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
A ListView will take only the space required for the items to show by default.
To make the ListView grow, it's possible to add `flex-grow: 1` to the styling either in uss or by code. If the desired behavior is to have the ListView container grow, but not the content, then additionally set the ScrollView's flex-grow to 0.
Resolution Note (2023.2.X):
A ListView will take only the space required for the items to show by default.
To make the ListView grow, it's possible to add `flex-grow: 1` to the styling either in uss or by code. If the desired behavior is to have the ListView container grow, but not the content, then additionally set the ScrollView's flex-grow to 0.