1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Expose Window.get_contents_minimum_size() to scripts

This commit is contained in:
Michael Alexsander
2021-07-02 15:35:56 -03:00
parent 5710adda72
commit a829e88ddc
2 changed files with 9 additions and 0 deletions

View File

@@ -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);