Skip to content

Commit 96b5fe8

Browse files
committed
Merge pull request #104344 from dugramen/subgroup-vbox-separation
Fix vbox separation for inspector subgroups
2 parents fe3aa04 + 3afd9f2 commit 96b5fe8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/editor_inspector.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,6 +1656,8 @@ void EditorInspectorSection::_notification(int p_what) {
16561656
update_minimum_size();
16571657
bg_color = get_theme_color(SNAME("prop_subsection"), EditorStringName(Editor));
16581658
bg_color.a /= level;
1659+
int separation = get_theme_constant(SNAME("v_separation"), SNAME("EditorInspector"));
1660+
vbox->add_theme_constant_override(SNAME("separation"), separation);
16591661
} break;
16601662

16611663
case NOTIFICATION_SORT_CHILDREN: {

0 commit comments

Comments
 (0)