<UXML xmlns:ui = "UnityEngine.Experimental.UIElements" xmlns:uie = "UnityEditor.Experimental.UIElements">
    <ui:PopupWindow name = "spriteFrameModuleInspector" text = "Sprite">
        <ui:VisualElement name = "name" class = "spriteFrameModuleInspectorField">
          <ui:TextField name = "spriteName" label = "Name" value = "Square"/>
        </ui:VisualElement>
        <ui:VisualElement name = "position">
            <ui:VisualElement class = "spriteFrameModuleInspectorField unity-composite-field unity-composite-field--multi-line unity-base-field">
                <ui:Label text = "Position" />
                <ui:VisualElement class = "unity-composite-field__input unity-base-field__input">
                  <ui:VisualElement name = "positionXY" class = "unity-composite-field__field-group">
                    <uie:IntegerField name = "positionX" class = "unity-composite-field__field" label = "X"/>
                      <uie:IntegerField name = "positionY" class = "unity-composite-field__field" label = "Y"/>
                  </ui:VisualElement>
                  <ui:VisualElement name = "positionWH" class = "unity-composite-field__field-group">
                      <uie:IntegerField name = "positionW" class = "unity-composite-field__field" label = "W"/>
                      <uie:IntegerField name = "positionH" class = "unity-composite-field__field" label = "H"/>
                  </ui:VisualElement>
                </ui:VisualElement>
            </ui:VisualElement>
        </ui:VisualElement>
        <ui:VisualElement name = "border">
            <ui:VisualElement class = "spriteFrameModuleInspectorField unity-composite-field unity-composite-field--multi-line unity-base-field">
                <ui:Label text = "Border" />
                <ui:VisualElement class = "unity-composite-field__input unity-base-field__input">
                  <ui:VisualElement name = "borderLT" class = "unity-composite-field__field-group">
                      <uie:IntegerField name = "borderL" class = "unity-composite-field__field" label = "L"/>
                      <uie:IntegerField name = "borderT" class = "unity-composite-field__field" label = "T"/>
                  </ui:VisualElement>
                  <ui:VisualElement name = "borderRB" class = "unity-composite-field__field-group">
                      <uie:IntegerField name = "borderR" class = "unity-composite-field__field" label = "R"/>
                      <uie:IntegerField name = "borderB" class = "unity-composite-field__field" label = "B"/>
                  </ui:VisualElement>
                </ui:VisualElement>
            </ui:VisualElement>
        </ui:VisualElement>
        <ui:VisualElement name = "pivot" class = "spriteFrameModuleInspectorField">
            <uie:EnumField name = "pivotField" label = "Pivot" class="unity-enum-field"/>
        </ui:VisualElement>
        <ui:VisualElement name = "pivotUnitMode" class = "spriteFrameModuleInspectorField">
            <uie:EnumField name = "pivotUnitModeField" label ="Pivot Unit Mode" class="unity-enum-field"/>
        </ui:VisualElement>
        <ui:VisualElement name = "customPivot" class = "spriteFrameModuleInspectorField unity-composite-field unity-base-field">
            <ui:Label text = "Custom Pivot" />
          <ui:VisualElement name = "customPivotField" class = "unity-composite-field__input">
            <uie:FloatField name = "customPivotX" class = "unity-composite-field__field" label = "X"/>
            <uie:FloatField name = "customPivotY" class = "unity-composite-field__field" label = "Y"/>
          </ui:VisualElement>
        </ui:VisualElement>
    </ui:PopupWindow>
</UXML>
