summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Seixas <seixasfelipe@gmail.com>2017-10-20 06:24:00 -0400
committerFelipe Seixas <seixasfelipe@gmail.com>2017-10-21 11:53:53 -0400
commit651246cbff5dbd079ab1bed3db65417799669a89 (patch)
treed353e08195ea0d92835dab35b2aaa6b3fa6ef38c
parent632459a46bcb321560152932bd401f750f98be1a (diff)
Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent Fixes ScriptEditor > File > Open Recent
-rw-r--r--editor/editor_node.cpp2
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index f109cdddc3..8c5f516584 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: