pub fn h_virtual_list<R, V>(
view: Entity<V>,
id: impl Into<ElementId>,
item_sizes: Rc<Vec<Size<Pixels>>>,
f: impl 'static + Fn(&mut V, Range<usize>, &mut Window, &mut Context<'_, V>) -> Vec<R>,
) -> 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 ignored and VirtualList will measure the first item height.
See also v_virtual_list