{ xtype: 'form', labelWidth: 40, // label settings here cascade unless overridden frame: false, bodyStyle:'padding:5px 5px 0', defaultType: 'textfield', labelAlign: 'right', items: [{ xtype: 'panel', height: 100, html: '


%%%NAME%%%

' },{ xtype:'fieldset', //checkboxToggle:true, collapsible: true, title: 'Location', autoHeight: true, defaults: { //width: 180 }, defaultType: 'textfield', collapsed: false, items :[{ fieldLabel: 'Lat', name: 'slat', value: %%%LAT%%%, id: 'slat', allowBlank:false },{ fieldLabel: 'Lon', id: 'slon', value: %%%LON%%%, name: 'slon', allowBlank:false },{ fieldLabel: 'Alt', id: 'salt', value: %%%ALT%%%, name: 'salt', allowBlank:false },{ xtype: 'button', text: 'Set To Anchor Position', width: '100%', handler: setNodeLocationToAnchor }] },{ xtype:'fieldset', title: 'Orientation', collapsible: true, autoHeight:true, defaults: { //width: 168 }, defaultType: 'textfield', items :[{ fieldLabel: 'Roll', id: 'sroll', value: %%%ROLL%%%, name: 'sroll', allowBlank:false },{ fieldLabel: 'Pitch', id: 'spitch', value: %%%PITCH%%%, name: 'spitch', allowBlank:false },{ fieldLabel: 'Yaw', id: 'syaw', value: %%%YAW%%%, name: 'syaw', allowBlank:false },{ xtype: 'button', width: '100%', text: 'Edit Orientation', handler: orientationEditor }] },{ xtype:'fieldset', title: 'Diff Position', collapsible: true, autoHeight:true, defaults: { //width: 168 }, defaultType: 'numberfield', items :[{ fieldLabel: 'ΔX', id: 'dx', value: %%%DX%%%, name: 'dx', allowBlank:false },{ fieldLabel: 'ΔY', id: 'dy', value: %%%DY%%%, name: 'dy', allowBlank:false },{ fieldLabel: 'ΔZ', id: 'dz', value: %%%DZ%%%, name: 'dz', allowBlank:false },{ xtype: 'button', width: '100%', text: 'Set Position', handler: setNodeLocationByDelta }] },{ xtype: 'button', text: 'Update', width: '100%', handler: updateLocationOrientation }] }