diff --git a/js/app/views/PlotComponents/PlotZoomPlug.js b/js/app/views/PlotComponents/PlotZoomPlug.js index 7506ba4..09c2290 100644 --- a/js/app/views/PlotComponents/PlotZoomPlug.js +++ b/js/app/views/PlotComponents/PlotZoomPlug.js @@ -101,12 +101,9 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { if (!this.win) { this.win = new Ext.Window({ id: 'plot-zoom-win-' + this.hostCmp.ownerCt.getId(), // Plot window ID - width: 250, - height: 250, x: 0, y: 0, baseCls: 'x-panel', title: 'Zoom', - layout: 'fit', constrain: true, collapsible: true, resizable: false, @@ -177,8 +174,6 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { var ttNameField = this.form.getForm().findField('tt-name'); if (ttNameField) ttNameField.findParentByType('fieldset').setVisible(this.zoomType == 'timeAxis'); - - this.win.setHeight((this.zoomType == 'timeAxis') ? 250 : 160); }, resetMinMaxValue: function () { @@ -337,8 +332,6 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { this.form = new Ext.form.FormPanel({ frame: true, - width: 250, - height: 250, layout: { type: 'vbox', pack: 'start', -- libgit2 0.21.2