prevent autotile properties out of bounds

This commit is contained in:
damarindra 2018-01-05 15:24:51 +07:00
parent 5322ed05c7
commit 0ae4ca7066
1 changed files with 1 additions and 0 deletions

View File

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