From b066dd9544d8bc4159aa55cf5b74778e39a02502 Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Fri, 7 Nov 2025 14:56:30 +0400 Subject: [PATCH] Reduce outer inspector margins --- editor/themes/theme_modern.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/editor/themes/theme_modern.cpp b/editor/themes/theme_modern.cpp index 9dd3079a5bd3..a9c8c2ab0b49 100644 --- a/editor/themes/theme_modern.cpp +++ b/editor/themes/theme_modern.cpp @@ -1870,9 +1870,7 @@ void ThemeModern::populate_editor_styles(const Ref &p_theme, Editor // Editor inspector. { // Panel. - Ref editor_inspector_panel = p_config.base_empty_style->duplicate(); - editor_inspector_panel->set_content_margin_all(p_config.base_margin * 2 * EDSCALE); - p_theme->set_stylebox(SceneStringName(panel), "EditorInspector", editor_inspector_panel); + p_theme->set_stylebox(SceneStringName(panel), "EditorInspector", p_config.base_empty_style); // Vertical separation between inspector categories and sections. p_theme->set_constant("v_separation", "EditorInspector", Math::ceil(p_config.base_margin * 0.5 * EDSCALE));