Viewport.setScrollToFocus

Sets whether the viewport should automatically scroll to keep the focused child in view.

class Viewport
void
setScrollToFocus

Parameters

scrollToFocus bool

whether to keep the focus widget scrolled to view

Meta