mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix background color of EditorInspectorArray
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user