pub fn set_scroll_offset(ctx: &Context, id: Id, offset: Vec2) -> boolExpand description
Moves the scroll area of id id (its [ScrollAreaOutput::id]) to
offset, in points from its start, as from the next time it is drawn;
false when no such area has been drawn. Kinetic scrolling in
progress stops there.
upstream: egui 0.37 made the scroll state’s offset private and has no setter, so this goes through the state’s serde form (docs/upstream.md).