Skip to main content

set_scroll_offset

Function set_scroll_offset 

Source
pub fn set_scroll_offset(world: &mut World, scroll_area: Entity, offset: f32)
Expand description

Scrolls a panel_scroll region (pass the panel-scroll entity, not the content) to a pixel offset from the top.