1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Improve appearance of the editor Debugger bottom panel menu

- Make the Debugger bottom panel menu more prominent when
  there are errors or warnings by adjusting the text color.
- Add some spacing to the right of the error/warning icon
  for better visual appearance.
This commit is contained in:
Hugo Locurcio
2021-09-24 17:11:57 +02:00
parent c26547414d
commit d831836b09
2 changed files with 7 additions and 0 deletions

View File

@@ -3390,6 +3390,8 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
script_editor = this;
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_constant_override("hseparation", 6 * EDSCALE);
debugger->set_tool_button(db);
debugger->connect("breaked", this, "_breaked");