From 1269d592e1ad76815f35ae6024a4ac966aeb0161 Mon Sep 17 00:00:00 2001 From: Silvio Mayolo Date: Thu, 23 Mar 2023 14:56:41 -0400 Subject: [PATCH] Corrected virtual function name in "Custom GUI Controls" --- tutorials/ui/custom_gui_controls.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/ui/custom_gui_controls.rst b/tutorials/ui/custom_gui_controls.rst index 0491b3dc5..447586e7e 100644 --- a/tutorials/ui/custom_gui_controls.rst +++ b/tutorials/ui/custom_gui_controls.rst @@ -79,13 +79,13 @@ the minimum size will make sure your custom control is not squished by the other controls in the container. To provide this callback, just override -:ref:`Control.get_minimum_size() `, +:ref:`Control._get_minimum_size() `, for example: .. tabs:: .. code-tab:: gdscript GDScript - func get_minimum_size(): + func _get_minimum_size(): return Vector2(30, 30) .. code-tab:: csharp