move rigidbody info to dedicated info group in Properties Panel

This commit is contained in:
xxSeys1
2025-05-01 22:29:37 +02:00
parent af955ba418
commit b1b36ea1a3

View File

@@ -93,7 +93,8 @@ namespace FlaxEditor.CustomEditors.Dedicated
// Add info box // Add info box
if (IsSingleObject && Values[0] is RigidBody && Editor.IsPlayMode) if (IsSingleObject && Values[0] is RigidBody && Editor.IsPlayMode)
{ {
_infoLabel = layout.Label(string.Empty).Label; var group = layout.Group("Info");
_infoLabel = group.Label(string.Empty).Label;
_infoLabel.AutoHeight = true; _infoLabel.AutoHeight = true;
} }
} }