diff options
author | kubecz3k <kubecz3k@gmail.com> | 2016-01-13 16:47:10 +0100 |
---|---|---|
committer | kubecz3k <kubecz3k@gmail.com> | 2016-01-13 16:47:10 +0100 |
commit | ca0a6c4d59492510780f3a3e1eb61a041b9129b6 (patch) | |
tree | 71366d267504ebdf297bda8c556dbabeae3e8b0c /tools/editor/plugins/script_editor_plugin.cpp | |
parent | c633a29a391c8797ace9ebb838390b318e8c91a9 (diff) |
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
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |