diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 6ae5a5f449..73a95967bd 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -19,6 +19,13 @@ + + + + + Returns the combined minimum size from the child [Control] nodes of the window. + + diff --git a/scene/main/window.cpp b/scene/main/window.cpp index d793be1869..cf2a6b2adf 100644 --- a/scene/main/window.cpp +++ b/scene/main/window.cpp @@ -1393,6 +1393,8 @@ void Window::_bind_methods() { ClassDB::bind_method(D_METHOD("is_embedded"), &Window::is_embedded); + ClassDB::bind_method(D_METHOD("get_contents_minimum_size"), &Window::get_contents_minimum_size); + ClassDB::bind_method(D_METHOD("set_content_scale_size", "size"), &Window::set_content_scale_size); ClassDB::bind_method(D_METHOD("get_content_scale_size"), &Window::get_content_scale_size);