Fix spacing between icon and "Output" button

This commit is contained in:
Michael Alexsander 2023-07-25 19:00:52 -03:00
parent 202e4b2c1e
commit 2883a40aa1
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
3 changed files with 5 additions and 2 deletions

View file

@ -54,8 +54,7 @@ DebuggerEditorPlugin::DebuggerEditorPlugin(PopupMenu *p_debug_menu) {
EditorDebuggerNode *debugger = memnew(EditorDebuggerNode);
Button *db = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Debugger"), debugger);
// Add separation for the warning/error icon that is displayed later.
db->add_theme_constant_override("h_separation", 6 * EDSCALE);
db->set_theme_type_variation("BottomPanelButton");
debugger->set_tool_button(db);
// Main editor debug menu.