diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-12-24 00:03:24 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-12-30 16:40:02 +0100 |
commit | cc7288510792f805135ce78374e6e1d0b58c1ee3 (patch) | |
tree | 464b3920952b72886fba21e41f9778a471ae2990 /doc | |
parent | d711c57d767734887fbf0955a7b9902c54498a0d (diff) |
Make new ScrollContainer focus behavior optional
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/ScrollContainer.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/ScrollContainer.xml b/doc/classes/ScrollContainer.xml index 5218b65886..f57730a591 100644 --- a/doc/classes/ScrollContainer.xml +++ b/doc/classes/ScrollContainer.xml @@ -24,6 +24,9 @@ </methods> <members> <member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" override="true" default="true" /> + <member name="follow_focus" type="bool" setter="set_follow_focus" getter="is_following_focus" default="false"> + If [code]true[/code], the ScrollContainer will automatically scroll to focused children (including indirect children) to make sure they are fully visible. + </member> <member name="scroll_deadzone" type="int" setter="set_deadzone" getter="get_deadzone" default="0"> </member> <member name="scroll_horizontal" type="int" setter="set_h_scroll" getter="get_h_scroll" default="0"> |