We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aed7fbd + 29b64c8 commit 84c790cCopy full SHA for 84c790c
com.unity.perception/Editor/GroundTruth/CameraLabelerDrawer.cs
@@ -99,8 +99,9 @@ protected virtual void DoLabelerGUI(Rect rect)
99
{
100
foreach (var prop in m_LabelerUserProperties)
101
102
- EditorGUI.PropertyField(rect, prop);
103
- rect.y += Styles.defaultLineSpace;
+ EditorGUI.PropertyField(rect, prop, true);
+ var height = EditorGUI.GetPropertyHeight(prop) + EditorGUIUtility.standardVerticalSpacing;
104
+ rect.y += height;
105
}
106
107
0 commit comments