summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorkubecz3k <kubecz3k@gmail.com>2016-01-20 13:01:27 +0100
committerkubecz3k <kubecz3k@gmail.com>2016-01-20 13:01:27 +0100
commite80d7d2a910e02375d6cb8500dcd74c8ae22a5a9 (patch)
tree5f44814e57b998f61812f095dec266630034ebfc /tools/editor/plugins
parente7eb3327990a189884df53796c67a99fc119bd38 (diff)
Wider initial size of the panel with scripts
I believe it's size is now exactly the same how it was before commit that allowed to hide script panel entirely. I assume previously it was 140 wide because of 70px of minimal size + 70px of offset, so now when minimal size is 0 the offset need to be 140.
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp2
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 1e16f32e6e..76e4af5f16 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -2329,7 +2329,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
script_list = memnew( ItemList );
script_split->add_child(script_list);
script_list->set_custom_minimum_size(Size2(0,0));
- script_split->set_split_offset(70);
+ script_split->set_split_offset(140);
tab_container = memnew( TabContainer );
tab_container->set_tabs_visible(false);