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

Fix vbox separation in inspector subgroups

This commit is contained in:
dugramen
2025-03-18 21:36:34 -04:00
parent 30bb49ec1f
commit 3afd9f2c71

View File

@@ -1644,6 +1644,8 @@ void EditorInspectorSection::_notification(int p_what) {
update_minimum_size();
bg_color = get_theme_color(SNAME("prop_subsection"), EditorStringName(Editor));
bg_color.a /= level;
int separation = get_theme_constant(SNAME("v_separation"), SNAME("EditorInspector"));
vbox->add_theme_constant_override(SNAME("separation"), separation);
} break;
case NOTIFICATION_SORT_CHILDREN: {