Merge pull request #104344 from dugramen/subgroup-vbox-separation
Fix vbox separation for inspector subgroups
This commit is contained in:
commit
96b5fe8092
1 changed files with 2 additions and 0 deletions
|
|
@ -1656,6 +1656,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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue