Fix vbox separation in inspector subgroups
This commit is contained in:
parent
30bb49ec1f
commit
3afd9f2c71
1 changed files with 2 additions and 0 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue