diff --git a/editor/docks/groups_editor.cpp b/editor/docks/groups_editor.cpp index 09b6ed8eca0..9e0740b8b4f 100644 --- a/editor/docks/groups_editor.cpp +++ b/editor/docks/groups_editor.cpp @@ -204,6 +204,7 @@ void GroupsEditor::_update_tree() { local_root->set_text(0, TTR("Scene Groups")); local_root->set_icon(0, get_editor_theme_icon(SNAME("PackedScene"))); local_root->set_custom_bg_color(0, get_theme_color(SNAME("prop_subsection"), EditorStringName(Editor))); + local_root->set_custom_stylebox(0, get_theme_stylebox(SNAME("prop_subsection_stylebox"), EditorStringName(Editor))); local_root->set_selectable(0, false); List scene_keys; @@ -241,6 +242,7 @@ void GroupsEditor::_update_tree() { global_root->set_text(0, TTR("Global Groups")); global_root->set_icon(0, get_editor_theme_icon(SNAME("Environment"))); global_root->set_custom_bg_color(0, get_theme_color(SNAME("prop_subsection"), EditorStringName(Editor))); + global_root->set_custom_stylebox(0, get_theme_stylebox(SNAME("prop_subsection_stylebox"), EditorStringName(Editor))); global_root->set_selectable(0, false); for (const StringName &E : keys) { diff --git a/editor/scene/connections_dialog.cpp b/editor/scene/connections_dialog.cpp index da3871959b3..a49670aa0cd 100644 --- a/editor/scene/connections_dialog.cpp +++ b/editor/scene/connections_dialog.cpp @@ -1627,6 +1627,7 @@ void ConnectionsDock::update_tree() { section_item->set_selectable(0, false); section_item->set_editable(0, false); section_item->set_custom_bg_color(0, get_theme_color(SNAME("prop_subsection"), EditorStringName(Editor))); + section_item->set_custom_stylebox(0, get_theme_stylebox(SNAME("prop_subsection_stylebox"), EditorStringName(Editor))); section_item->set_metadata(0, doc_class_name); }