From ca0a6c4d59492510780f3a3e1eb61a041b9129b6 Mon Sep 17 00:00:00 2001 From: kubecz3k Date: Wed, 13 Jan 2016 16:47:10 +0100 Subject: Ability to hide panel with scripts Minimal horizontal size for panel with scripts was = 70, changed it to 0. It's especially helpful if someone is working on a laptop, or just don't like to have anything on the left side of the screen. Video that shows how it's working after the change: https://www.youtube.com/watch?v=Y_o4pOpjyhY&feature=youtu.be --- tools/editor/plugins/script_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index fc0d68b2f8..8adfe9d2cf 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -2331,7 +2331,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { script_list = memnew( ItemList ); script_split->add_child(script_list); - script_list->set_custom_minimum_size(Size2(70,0)); + script_list->set_custom_minimum_size(Size2(0,0)); script_split->set_split_offset(70); tab_container = memnew( TabContainer ); -- cgit v1.2.3