diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-21 23:41:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 23:41:33 +0200 |
commit | b7bebb0f920e7f9facfe11ff409b26802d9c5e50 (patch) | |
tree | 0c061655a251d04b35001e335873df5d779d4b4d /editor | |
parent | c9894669a99700776b288b338458bfe02258da15 (diff) | |
parent | 651246cbff5dbd079ab1bed3db65417799669a89 (diff) |
Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font
Fix recent scenes layout when resizing font
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_node.cpp | 2 | ||||
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index f2390ad269..b77525c0ba 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -308,6 +308,8 @@ void EditorNode::_notification(int p_what) { } _update_scene_tabs(); + recent_scenes->set_as_minsize(); + // debugger area if (ScriptEditor::get_singleton()->get_debugger()->is_visible()) bottom_panel->add_style_override("panel", gui_base->get_stylebox("BottomPanelDebuggerOverride", "EditorStyles")); diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 84808cb876..ffda34653d 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1169,6 +1169,8 @@ void ScriptEditor::_notification(int p_what) { script_forward->set_icon(get_icon("Forward", "EditorIcons")); script_back->set_icon(get_icon("Back", "EditorIcons")); + + recent_scripts->set_as_minsize(); } break; default: |