Search Issue Tracker

By Design

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)

  1. 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.

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.