setScrollToFocus

open fun setScrollToFocus(scrollToFocus: Boolean)

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

Parameters

scrollToFocus

whether to keep the focus widget scrolled to view