From 651246cbff5dbd079ab1bed3db65417799669a89 Mon Sep 17 00:00:00 2001 From: Felipe Seixas Date: Fri, 20 Oct 2017 06:24:00 -0400 Subject: [PATCH] Fix drop-down size when resizing font #12207 Fixes Scene > Open Recent Fixes ScriptEditor > File > Open Recent --- editor/editor_node.cpp | 2 ++ editor/plugins/script_editor_plugin.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index f109cdddc31..8c5f5165849 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 84808cb876b..ffda34653d4 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: