Fix background color of EditorInspectorArray

This commit is contained in:
passivestar
2025-12-28 18:47:18 +04:00
parent 63227bbc8a
commit 71ee53384e
3 changed files with 10 additions and 4 deletions

View File

@@ -2127,6 +2127,9 @@ void ThemeClassic::populate_editor_styles(const Ref<EditorTheme> &p_theme, Edito
category_bg->set_content_margin_all(0);
p_theme->set_stylebox("bg", "EditorInspectorCategory", category_bg);
// EditorInspectorArray.
p_theme->set_color("bg", "EditorInspectorArray", p_config.dark_color_1);
p_theme->set_constant("inspector_margin", EditorStringName(Editor), 12 * EDSCALE);
// Colored EditorProperty.

View File

@@ -2157,6 +2157,9 @@ void ThemeModern::populate_editor_styles(const Ref<EditorTheme> &p_theme, Editor
}
p_theme->set_stylebox("bg", "EditorInspectorCategory", category_bg);
// EditorInspectorArray.
p_theme->set_color("bg", "EditorInspectorArray", p_config.surface_base_color);
p_theme->set_constant("inspector_margin", EditorStringName(Editor), 12 * EDSCALE);
// Colored EditorProperty.