1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Improve editor inspector main container spacing in modern theme

This commit is contained in:
passivestar
2025-12-20 15:15:14 +04:00
parent 551ce8d47f
commit 0c6285c0b9
3 changed files with 10 additions and 2 deletions

View File

@@ -2014,6 +2014,10 @@ void ThemeClassic::populate_editor_styles(const Ref<EditorTheme> &p_theme, Edito
p_theme->set_type_variation("EditorInspectorContainer", "VBoxContainer");
p_theme->set_constant("separation", "EditorInspectorContainer", 0);
// Vertical separation between inspector sections.
p_theme->set_type_variation("EditorSectionContainer", "VBoxContainer");
p_theme->set_constant("separation", "EditorSectionContainer", 0);
// Vertical separation between inspector properties.
p_theme->set_type_variation("EditorPropertyContainer", "VBoxContainer");
p_theme->set_constant("separation", "EditorPropertyContainer", p_config.increased_margin * EDSCALE);