From 535c65b41276f9be51b957316e9afe14c3834af3 Mon Sep 17 00:00:00 2001 From: Nathanaƫl Jourdane <nathanael.jourdane@irap.omp.eu> Date: Fri, 23 Feb 2018 18:31:54 +0100 Subject: [PATCH] git zoom window bug on Windows (I hope) --- js/app/views/PlotComponents/PlotZoomPlug.js | 7 ------- 1 file changed, 0 insertions(+), 7 deletions(-) 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