Commit 535c65b41276f9be51b957316e9afe14c3834af3
1 parent
b2481b88
Exists in
master
and in
111 other branches
git zoom window bug on Windows (I hope)
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
js/app/views/PlotComponents/PlotZoomPlug.js
... | ... | @@ -101,12 +101,9 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
101 | 101 | if (!this.win) { |
102 | 102 | this.win = new Ext.Window({ |
103 | 103 | id: 'plot-zoom-win-' + this.hostCmp.ownerCt.getId(), // Plot window ID |
104 | - width: 250, | |
105 | - height: 250, | |
106 | 104 | x: 0, y: 0, |
107 | 105 | baseCls: 'x-panel', |
108 | 106 | title: 'Zoom', |
109 | - layout: 'fit', | |
110 | 107 | constrain: true, |
111 | 108 | collapsible: true, |
112 | 109 | resizable: false, |
... | ... | @@ -177,8 +174,6 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
177 | 174 | var ttNameField = this.form.getForm().findField('tt-name'); |
178 | 175 | if (ttNameField) |
179 | 176 | ttNameField.findParentByType('fieldset').setVisible(this.zoomType == 'timeAxis'); |
180 | - | |
181 | - this.win.setHeight((this.zoomType == 'timeAxis') ? 250 : 160); | |
182 | 177 | }, |
183 | 178 | |
184 | 179 | resetMinMaxValue: function () { |
... | ... | @@ -337,8 +332,6 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
337 | 332 | |
338 | 333 | this.form = new Ext.form.FormPanel({ |
339 | 334 | frame: true, |
340 | - width: 250, | |
341 | - height: 250, | |
342 | 335 | layout: { |
343 | 336 | type: 'vbox', |
344 | 337 | pack: 'start', |
... | ... |
-
StartTime / StopTime fields (zoomType == timeAxis) are too small in this commit !
-
at my mac : old :
new :