From 0ae4ca706663242cab5aaa3854bcd52f94db9d1d Mon Sep 17 00:00:00 2001 From: damarindra Date: Fri, 5 Jan 2018 15:24:51 +0700 Subject: [PATCH] prevent autotile properties out of bounds --- editor/plugins/tile_set_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index f1870807c2b..b5ff94a056e 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -340,6 +340,7 @@ AutotileEditor::AutotileEditor(EditorNode *p_editor) { property_editor = memnew(PropertyEditor); property_editor->set_v_size_flags(SIZE_EXPAND_FILL); property_editor->set_h_size_flags(SIZE_EXPAND_FILL); + property_editor->set_custom_minimum_size(Size2(10, 70)); split->add_child(property_editor); helper = memnew(AutotileEditorHelper(this));