1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

-Completely removed EmptyControl (but added fallback), closes #1017

This commit is contained in:
Juan Linietsky
2015-01-03 17:24:16 -03:00
parent 0e1d70f637
commit dc7ac86b79
13 changed files with 35 additions and 35 deletions

View File

@@ -1192,8 +1192,8 @@ GridMapEditor::GridMapEditor(EditorNode *p_editor) {
undo_redo=p_editor->get_undo_redo();
int mw = EDITOR_DEF("grid_map/palette_min_width",230);
EmptyControl *ec = memnew( EmptyControl);
ec->set_minsize(Size2(mw,0));
Control *ec = memnew( Control);
ec->set_custom_minimum_size(Size2(mw,0));
add_child(ec);