diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-15 12:56:10 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-15 13:41:01 +0800 |
commit | bbaf212c62422ade6fbe83fbab78fc46a6103184 (patch) | |
tree | 051314ef40797ff31ec7600481ff5e7725bd303a | |
parent | ce7d3bb1c7a4d146c1afaef7d1cde414162d4d02 (diff) |
Fixes wrong minimum size of Group Editor
Takes current editor scale into account when setting the minimum size.
-rw-r--r-- | editor/groups_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/groups_editor.cpp b/editor/groups_editor.cpp index 74d81bf561..e7facc56b5 100644 --- a/editor/groups_editor.cpp +++ b/editor/groups_editor.cpp @@ -404,7 +404,7 @@ void GroupDialog::_bind_methods() { } GroupDialog::GroupDialog() { - set_custom_minimum_size(Size2(600, 400)); + set_custom_minimum_size(Size2(600, 400) * EDSCALE); scene_tree = SceneTree::get_singleton(); |