UI GUI Navigation documentation is incorrect #10136
Labels
area:manual
Issues and PRs related to the Manual/Tutorials section of the documentation
bug
content:example code
Issues and PRs involving code examples
topic:gui
Your Godot version:
4.3
Issue description:
Section entitled "Necessary code" is incorrect or godot has a bug. A VBoxContainer was created in a scene with a root Control node. the VBoxContainer contains 4 buttons with a custom theme set. The Control has a script:
The scene was instantiated and added to an active scene that has a Node2D root node.
This does not appear to result in the StartButton taking focus. Instead, it appears it is necessary to set focus somewhere in _process() or with a timer signal.
URL to the documentation page:
Necessary code¶
The text was updated successfully, but these errors were encountered: