Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font

Fix recent scenes layout when resizing font
This commit is contained in:
Rémi Verschelde 2017-10-21 23:41:33 +02:00 committed by GitHub
commit b7bebb0f92
2 changed files with 4 additions and 0 deletions

View File

@ -308,6 +308,8 @@ void EditorNode::_notification(int p_what) {
} }
_update_scene_tabs(); _update_scene_tabs();
recent_scenes->set_as_minsize();
// debugger area // debugger area
if (ScriptEditor::get_singleton()->get_debugger()->is_visible()) if (ScriptEditor::get_singleton()->get_debugger()->is_visible())
bottom_panel->add_style_override("panel", gui_base->get_stylebox("BottomPanelDebuggerOverride", "EditorStyles")); bottom_panel->add_style_override("panel", gui_base->get_stylebox("BottomPanelDebuggerOverride", "EditorStyles"));

View File

@ -1169,6 +1169,8 @@ void ScriptEditor::_notification(int p_what) {
script_forward->set_icon(get_icon("Forward", "EditorIcons")); script_forward->set_icon(get_icon("Forward", "EditorIcons"));
script_back->set_icon(get_icon("Back", "EditorIcons")); script_back->set_icon(get_icon("Back", "EditorIcons"));
recent_scripts->set_as_minsize();
} break; } break;
default: default: