Variable Sized Items in Scroll View
- Dominant language
- Rust
- Stars
- 30.6k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 72
Description
I am trying to render 10.000+ items in a scroll view, which all have different heights, including multiline text and images. Currently the examples only show how to render rows with the same height when only rendering what is visible. But in lrder for me to know the height of the elements I have to lay them out first. Any pointers or thoughts on hoe to add support for this?
Thank you
Contributor guide
Research direction
Start by reviewing egui's scroll-view implementation and the existing examples for rendering only visible, fixed-height rows. Determine how variable heights, multiline text, and images could be measured while keeping 10,000+ items virtualized; done means a scroll view can render such items with different heights without laying out every item first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100