From a829e88ddc0931a36e0b50d5307e93b1489b531b Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Fri, 2 Jul 2021 15:35:56 -0300 Subject: Expose `Window.get_contents_minimum_size()` to scripts --- scene/main/window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/main') 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); -- cgit v1.2.3