pub fn h_virtual_list<R, V>(
view: Entity<V>,
id: impl Into<ElementId>,
item_sizes: Rc<Vec<Size<Pixels>>>,
f: impl Fn(&mut V, Range<usize>, &mut Window, &mut Context<'_, V>) -> Vec<R> + 'static,
) -> VirtualListwhere
R: IntoElement,
V: Render,Expand description
Create a VirtualList in horizontal direction.
The item_sizes is the size of each column. Only the width is used; height is inferred
by measuring the item selected with VirtualList::with_item_to_measure_index, defaulting
to the first item.
See also v_virtual_list