BodySelectionPanel.js 755 Bytes
Ext.define('treps.view.Steps.TransformationDefinition.BodySelectionPanel' ,{
	extend: 'Ext.form.Panel',

	alias: 'widget.bodies_panel',

	requires: [
		'treps.view.Bodies.BodiesCombo'
	],

	initComponent: function() {
		this.callParent(arguments);
	},

	/*tools: [
		{
			type: 'help',
			pageId: 'bodies'
		}
	],
	*/
	//title: 'Body selection',

	layout: {
		type: 'vbox',
		align: 'center',
		padding: 5,
		margin: 5
	},

	items: [
		{
			xtype: 'bodies_combo',
			id: 'centercombo',
			fieldLabel: 'Center',
			labelWidth: 150,
			padding: 5,
			flex: 1
		},
		{
			xtype: 'bodies_combo',
			id: 'sccombo',
			fieldLabel: 'Spacecraft',
			labelWidth: 150,
			padding: 5,
			flex: 1
		},
		{
			xtype: 'button',
			text: 'OK',
			id: 'okbtn'
		}
	]
});