Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Dear ImGui has a special 'ListClipper' class which allows to iterate over the visible 'slots' of a list, so that the code which describes the list UI can skip clipped items early. Not sure if egui has something similar.

An egui ScrollArea can request only visible rows from a callback using show_rows:

https://docs.rs/egui/latest/egui/containers/scroll_area/stru...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: