diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 17:24:16 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 17:24:16 -0300 |
commit | dc7ac86b798f40e1472871391af49a562879eadc (patch) | |
tree | 0cae39a004458c5a62cc14888a35f53e88aa42a1 /modules | |
parent | 0e1d70f637c31aa107f109a2e21ec9cd5e82d047 (diff) |
-Completely removed EmptyControl (but added fallback), closes #1017
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gridmap/grid_map_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp index 140718a91a..e621a5e061 100644 --- a/modules/gridmap/grid_map_editor_plugin.cpp +++ b/modules/gridmap/grid_map_editor_plugin.cpp @@ -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); |