namespace Sandbox.UI; /// /// Used by ControlSheet to display a single row of a property. This is created from a SerializedProperty /// and contains a label and a control for editing the property. Controls are created using BaseControl.CreateFor. /// public class ControlSheetRow : Panel { [Parameter] public SerializedProperty Property { get; set; } Panel _left; Label _title; Panel _right; public ControlSheetRow() { _left = AddChild( "left" ); _title = _left.AddChild