You've already forked godot
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user