Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font
Fix recent scenes layout when resizing font
This commit is contained in:
commit
b7bebb0f92
|
@ -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"));
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue